Package adams.core

Class Time

    • Constructor Detail

      • Time

        public Time()
        Default constructor.
      • Time

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

        public Time​(Date date)
        Initializes the time with the given date.
        Parameters:
        date - the Java date
    • Method Detail

      • toDate

        public Date toDate()
        Returns the time object as date object.
        Returns:
        the date object
      • toSql

        public Time toSql()
        Returns the time object as SQL time object.
        Returns:
        the SQL time object