Class Date

    • Constructor Detail

      • Date

        public Date​(int year,
                    int month,
                    int dayOfMonth)
      • Date

        public Date​(java.time.LocalDate date)
    • 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<Date>
        See Also:
        String.format(String, Object...)
      • toDaysSinceYear

        public DaysSinceDate toDaysSinceYear​(int year)
      • compareTo

        public int compareTo​(Date 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
      • getDate

        public java.time.LocalDate getDate()
      • parse

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

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