Class DateTime

    • Constructor Detail

      • DateTime

        public DateTime​(int year,
                        int month,
                        int dayOfMonth,
                        int hour,
                        int minute,
                        int second)
      • DateTime

        public DateTime​(java.time.LocalDateTime dateTime)
    • 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<DateTime>
        See Also:
        String.format(String, Object...)
      • toDate

        public Date toDate()
      • toTime

        public Time toTime()
      • compareTo

        public int compareTo​(DateTime 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
      • getDateTime

        public java.time.LocalDateTime getDateTime()
      • parse

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

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