# Package org.rrd4j.core.timespec

Time specification parsing and handling for JRobin RRD system.

See: Description

- Class Summary
  Class | Description
  --- | ---
  Epoch | Small swing-based utility to convert timestamps (seconds since epoch) to readable dates and vice versa.
  TimeParser | Parser for at-style time specifications used in RRDTool commands.
  TimeScanner | Represents a I2P timescanner.
  TimeSpec | Represents time specifications parsed from at-style date strings.
  TimeToken | Token representation for time specification parsing.

## Package org.rrd4j.core.timespec Description

Time specification parsing and handling for JRobin RRD system. This package provides classes for parsing and handling time specifications used in Round Robin Database (RRD) systems. Time specifications define how time-based data should be interpreted, consolidated, and archived in RRD databases.

## Key Components

- `TimeSpec` - Time specification data structure
- `TimeParser` - Parser for time specification strings
- `Epoch` - Epoch time reference implementation

## Main Features

- Parse RRD time specification formats
- Handle various time units (seconds, minutes, hours, days)
- Support for absolute and relative time specifications
- Integration with RRD consolidation algorithms
- Time zone and epoch handling

## Usage in RRD

Time specifications are used to define when RRD data points should be consolidated and archived. They allow for efficient storage of time series data by specifying the time intervals between data points.

## Related Packages

- `org.rrd4j.core` - Core JRobin RRD functionality
- `org.rrd4j.data` - RRD data structures