Class Date

  • All Implemented Interfaces:
    java.io.Serializable, Schema.LogicalType<java.time.LocalDate,​java.lang.Long>

    public class Date
    extends java.lang.Object
    implements Schema.LogicalType<java.time.LocalDate,​java.lang.Long>
    A date without a time-zone.

    It cannot represent an instant on the time-line without additional information such as an offset or time-zone.

    Its input type is a LocalDate, and base type is a Long that represents a incrementing count of days where day 0 is 1970-01-01 (ISO).

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String IDENTIFIER  
    • Constructor Summary

      Constructors 
      Constructor Description
      Date()