Class LocalDate

java.lang.Object
com.illumon.iris.web.shared.data.LocalDate
All Implemented Interfaces:
Serializable

public class LocalDate extends Object implements Serializable
A simple container for serializing LocalDate values. This should be better for serialization than java.time.LocalDate since we use bytes for month and day, and is compatible with GWT (java.time is not available in GWT).
See Also:
  • Constructor Details

    • LocalDate

      public LocalDate(int year, byte monthValue, byte dayOfMonth)
    • LocalDate

      public LocalDate()
  • Method Details

    • getYear

      public int getYear()
    • setYear

      public void setYear(int year)
    • getMonthValue

      public byte getMonthValue()
    • setMonthValue

      public void setMonthValue(byte monthValue)
    • getDayOfMonth

      public byte getDayOfMonth()
    • setDayOfMonth

      public void setDayOfMonth(byte dayOfMonth)