java.lang.Object
com.independentsoft.office.odf.styles.Day

public class Day extends Object
Represents a day of a month in a date.
  • Constructor Details

    • Day

      public Day()
      Initializes a new instance of the Day class.
  • Method Details

    • clone

      public Day clone()
      Creates a new object that is a deep copy of the current instance.
      Overrides:
      clone in class Object
      Returns:
      A new object that is a copy of this instance.
    • toString

      public String toString()
      Converts the value of the current Day object to its equivalent string representation.
      Overrides:
      toString in class Object
      Returns:
      the string
    • getDisplayFormat

      public DisplayFormat getDisplayFormat()
      Gets the display format.
      Returns:
      the display format
    • setDisplayFormat

      public void setDisplayFormat(DisplayFormat format)
      Sets the display format.
      Parameters:
      format - the new display format
    • getCalendar

      public String getCalendar()
      Gets the calendar system used to extract parts of a date.
      Returns:
      the calendar
    • setCalendar

      public void setCalendar(String calendar)
      Sets the calendar system used to extract parts of a date.
      Parameters:
      calendar - the new calendar