Interface SloCalendarWindow.Builder

  • Method Details

    • unit

      The calendar unit of the window.

      Parameters:
      unit - The calendar unit of the window.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • unit

      The calendar unit of the window.

      Parameters:
      unit - The calendar unit of the window.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • weekStartDay

      SloCalendarWindow.Builder weekStartDay(String weekStartDay)

      The day a week starts on. Allowed only when the unit is WEEK. Defaults to MONDAY.

      Parameters:
      weekStartDay - The day a week starts on. Allowed only when the unit is WEEK. Defaults to MONDAY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • weekStartDay

      SloCalendarWindow.Builder weekStartDay(SloWeekDay weekStartDay)

      The day a week starts on. Allowed only when the unit is WEEK. Defaults to MONDAY.

      Parameters:
      weekStartDay - The day a week starts on. Allowed only when the unit is WEEK. Defaults to MONDAY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timeZone

      SloCalendarWindow.Builder timeZone(String timeZone)

      The IANA time zone that defines the period boundaries, such as Europe/London. Defaults to UTC.

      Parameters:
      timeZone - The IANA time zone that defines the period boundaries, such as Europe/London. Defaults to UTC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.