Class Time

    • Constructor Detail

      • Time

        public Time​(int hour,
                    int minute,
                    int second)
      • Time

        public Time​(java.time.LocalTime time)
    • Method Detail

      • toSimpleValue

        public java.lang.String toSimpleValue()
        Returns:
        A non-null value, which can be converted to String representation via Object.toString().
      • format

        public java.lang.String format​(java.lang.String pattern)
        Specified by:
        format in class Instant<Time>
        See Also:
        String.format(String, Object...)
      • compareTo

        public int compareTo​(Time that)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • getTime

        public java.time.LocalTime getTime()
      • parse

        public static Time parse​(java.lang.String value)
                          throws java.time.format.DateTimeParseException
        Throws:
        java.time.format.DateTimeParseException
      • valueOf

        public static Time valueOf​(java.lang.Object value)