package gov.nasa.gsfc.spdf.cdfj; /** * An instant of time in timeseries methods of cdfj is defined by a base * time which is the * offset in milliseconds since Epoch 0, and an offset relative to the base * time specified in one of the following time units: milliseconds, * microseconds, nanoseconds or pico seconds. * The default Time Instant Model sets the offset unit be millisecond. * */ public interface TimeInstantModel extends java.lang.Cloneable { /** * Returns base time in base time units since Epoch 0. * @see #getBaseTimeUnits() */ public double getBaseTime(); /** * Returns base time units. *

Currently fixed as TimePrecision.MILLISECOND

*/ public TimePrecision getBaseTimeUnits(); /** * Returns time offset units. */ public TimePrecision getOffsetUnits(); /** * Sets time offset units. *

Units must be compatible with the underlying data resolution.

* */ public void setOffsetUnits(TimePrecision precision); public Object clone(); }