ucar.nc2.units
Class JavaDateUnit

java.lang.Object
  extended by ucar.nc2.units.DateUnit
      extended by ucar.nc2.units.JavaDateUnit

public class JavaDateUnit
extends DateUnit

A DateUnit that uses the same units as java.util.Date, namely "secs since 1970-01-01T00:00:00Z".

Author:
caron

Method Summary
static JavaDateUnit getJavaDateUnit()
          Factory method.
 
Methods inherited from class ucar.nc2.units.DateUnit
getDate, getDateOrigin, getStandardDate, getStandardOrISO, getTimeUnit, getTimeUnitString, getUnitsString, getUnixDateUnit, main, makeDate, makeStandardDateString, makeValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getJavaDateUnit

public static JavaDateUnit getJavaDateUnit()
Factory method.

Returns:
a DateUnit of "secs since 1970-01-01T00:00:00Z"