Interface | Description |
---|---|
DomainDivider |
Divides a given range of input values into useful intervals.
|
TimeParser.FieldHandler |
Interface to add custom handlers for strings with unique formats.
|
Class | Description |
---|---|
Basis |
Model a basis vector that defines a dimension.
|
CacheTag |
CacheTags are used to represent the coverage of datasets stored in a cache, and are
the reference used to decide if a cache entry is capable of satisfying a data request.
|
CurrencyUnits |
parse a few currencies, for demonstration purposes.
|
Datum |
A Datum is a number in the context of a Unit, for example "15 microseconds."
A Datum object has methods for
formatting itself as a String,
representing itself as a double in the context of another Unit,
and mathematical operators that allow simple calculations to be made at the physical quantities.
|
Datum.Double |
class backing Datums with a double.
|
Datum.Long |
class backing Datums with a long, such as with CDF_TT2000.
|
DatumRange |
A DatumRange is provided as a means to carry an ordered pair of Datums
representing an interval.
|
DatumRangeUtil |
Utility functions for DatumRanges.
|
DatumRangeUtil.DateDescriptor | |
DatumUtil | |
DatumVector | |
DecimalYearConverter |
converts decimal years to us2000.
|
DomainDividerUtil | |
EnumerationUnits |
Units class for mapping arbitrary objects to Datums.
|
HttpUtil |
Utilities for HTTP protocol, such handling redirects.
|
LeapSecondsConverter |
TT2000 converter that takes leap seconds into account from us2000.
|
LinearDomainDivider |
A
DomainDivider to divide a linear data range into equal segments. |
LocationUnits |
Units for describing locations, Stevens' Interval Scale.
|
LogDomainDivider |
A
DomainDivider to divide a range into (base 10) logarithmically equal
segments. |
LoggerManager |
Central place that keeps track of loggers.
|
LogLinDomainDivider |
A DomainDivider which divides logarithmically (base 10), with linear subdivisions.
|
MonthDatumRange |
DatumRange implementation that preserves month and year boundaries in the next() and previous() implementations.
|
NumberUnits | |
OrbitDatumRange |
DatumRange implementation that identifies times by orbit number.
|
Orbits |
Orbits are a map of string identifiers to DatumRanges, typically used to enumerate the orbits a spacecraft makes.
|
Orbits.OrbitFieldHandler |
allow orbits to be used in file names
|
OrdinalTimeDomainDivider | |
Ratio |
Represent the ratio of two integers.
|
RationalNumber |
represent a rational number
|
SIUnits |
Finally introduce SI Units library, which preserves units through
multiplication and division.
|
TimeContext | |
TimeLocationUnits | |
TimeParser |
TimeParser designed to quickly parse strings with a known format.
|
TimeParser.EnumFieldHandler |
"$Y$m$d-$(enum;values=a,b,c,d)", "20130202-a", "2013-02-02/2013-02-03"
|
TimeParser.HrintervalFieldHandler |
$(hrinterval;names=a,b,c,d) "b" → "06:00/12:00"
|
TimeParser.IgnoreFieldHandler |
Just skip the field.
|
TimeParser.PeriodicFieldHandler |
regular intervals are numbered.
|
TimeParser.SubsecFieldHandler |
$(subsec;places=6) "36" → "36 microseconds"
|
TimeTemplator |
Experiment with a tool for quickly creating time templates.
|
TimeTemplatorFieldPicker | |
TimeUtil |
Various time utilities
|
TimeUtil.TimeDigit | |
TimeUtil.TimeStruct | |
Units |
Class for indicating physical units, and other random units.
|
UnitsConverter |
Units Converter object performs scale/offset conversions, but can
also be used any double-to-double conversion, and contains an
implementation to chain multiple conversions together.
|
UnitsConverter.Appended | |
UnitsConverter.ScaleOffset | |
UnitsUtil |
Useful operations for units, and tests for Steven's Levels of Measurement.
|
Exception | Description |
---|---|
InconvertibleUnitsException |
introduced so that clients can more precisely catch this exception.
|
Provides classes representing physical quantities. The Units class defines an enumeration of physical units such as Units.hertz and Units.microseconds. It also contains a convention for identifying locations in time with units like Units.t1970, the number of microseconds elapsed since midnight, January 1, 1970. The Units class also contains a registry of Units and the conversions between them.
A Datum is a number in the context of a Unit, for example "15 microseconds." A Datum object has methods for formatting itself as a String, representing itself as a double in the context of another Unit, and mathematical operators that allow simple calculations to be made at the physical quantities. Also, a Datum's precision can be limited to improve formatting.
A DatumRange is a pair of Datums that identify a range in the physical space of a Unit. An example of a formatted DatumRange is "January, 2005" or "0 to 50Hz".
Time ranges are a special case of DatumRange that are used often. These include "March 2010", "2012-12-14T00:00/2012-12-14T01:00", and "2012-12-14T00:00:00.001/2012-12-14T00:00:00.002". Note that DatumRanges provide a next() and previous() method, so "April 2010" would be the result of next called on the datum range for "March 2010". There are also special cases of time ranges like orbit ranges. These are formatted like "orbit:rbspa-pp:5" is the time interval for orbit 5 of the RBSP-A (Van Allen) probe.
Also there are utility classes for parsing and formatting times. DatumRangeUtil.parseDatumRange or DatumRangeUtil.parseTimeRange can be used to parse strings into DatumRanges. See Datum.createValid and Units.parse which parse strings into Datums.