final case class Date(year: Int = 0, month: Int = 0, day: Int = 0, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[Date] with Product with Serializable

Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent:

* A full date, with non-zero year, month and day values * A month and day value, with a zero year, e.g. an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, e.g. a credit card expiration date

Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and google.protobuf.Timestamp.

year

Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.

month

Month of year. Must be from 1 to 12, or 0 if specifying a year without a month and day.

day

Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year by itself or a year and month where the day is not significant.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[Date], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Date
  2. Product
  3. Equals
  4. Updatable
  5. GeneratedMessage
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Date(year: Int = 0, month: Int = 0, day: Int = 0, unknownFields: UnknownFieldSet = ...)

    year

    Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.

    month

    Month of year. Must be from 1 to 12, or 0 if specifying a year without a month and day.

    day

    Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year by itself or a year and month where the day is not significant.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def companion: Date.type
    Definition Classes
    Date → GeneratedMessage
  7. val day: Int
  8. def discardUnknownFields: Date
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    Date → GeneratedMessage
  13. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    Date → GeneratedMessage
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val month: Int
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def serializedSize: Int
    Definition Classes
    Date → GeneratedMessage
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  22. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  23. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  24. def toProtoString: String
    Definition Classes
    Date → GeneratedMessage
  25. val unknownFields: UnknownFieldSet
  26. def update(ms: (Lens[Date, Date]) ⇒ Mutation[Date]*): Date
    Definition Classes
    Updatable
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. def withDay(__v: Int): Date
  31. def withMonth(__v: Int): Date
  32. def withUnknownFields(__v: UnknownFieldSet): Date
  33. def withYear(__v: Int): Date
  34. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  35. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    Date → GeneratedMessage
  36. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  37. val year: Int

Inherited from Product

Inherited from Equals

Inherited from Updatable[Date]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped