Class MetadataTime

    • Constructor Detail

      • MetadataTime

        public MetadataTime​(long time,
                            TimeType type)
    • Method Detail

      • getType

        public static TimeType getType​(char code)
        Converts timetypes to data codes used in the table data implementation
        Parameters:
        code - character M or L otherwise exception thrown
        Returns:
        a TimeType TimeType represented by code.
      • getCode

        public static char getCode​(TimeType type)
        Returns:
        the single char code of this objects timeType
      • getCode

        public char getCode()
      • encode

        public String encode()
      • getTime

        public long getTime()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object