Package adams.core

Class DateTimeMsec

  • All Implemented Interfaces:
    Serializable, Cloneable, Comparable<Date>

    public class DateTimeMsec
    extends Date
    A thin wrapper to distinguish between date/teim and date/time msec.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • DateTimeMsec

        public DateTimeMsec()
        Default constructor.
      • DateTimeMsec

        public DateTimeMsec​(long date)
        Initializes the date/time with the given msecs.
        Parameters:
        date - the msecs since 1970
      • DateTimeMsec

        public DateTimeMsec​(Date date)
        Initializes the date/time with the given date.
        Parameters:
        date - the Java date