Scoop API

scoop:scoop.ui.component:0.1.0

CalendarLocale

class CalendarLocale

source · line 13
public
public class CalendarLocale public constructor(
    public val months: Array<String> =
        [
            "January",
            "February",
            "March",
            "April",
            "May",
            "June",
            "July",
            "August",
            "September",
            "October",
            "November",
            "December"
        ],
    public val shortMonths: Array<String> =
        ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
    public val weekdays: Array<String> = ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"],
    public val weekStartsOn: DayOfWeek = DayOfWeek.Sunday,
    public val firstWeekContainsDate: Int = 1,
    public val number: (Int) -> String = { value -> value.toString() },
    public val date: (LocalDate) -> String = { value -> value.toString() },
    /** Accessible name for the existing previous-page action. */
    public val previousMonth: String = "Previous month",
    /** Accessible name for the existing next-page action. */
    public val nextMonth: String = "Next month"
)

property number

source · line 34
public
public val number: (Int) -> String = { value -> value.toString() }

get: public read-only

property nextMonth

source · line 39
public
public val nextMonth: String = "Next month"

get: public read-only

Accessible name for the existing next-page action.

property shortMonths

source · line 29
public
public val shortMonths: Array<String> =
        ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]

get: public read-only

property firstWeekContainsDate

source · line 33
public
public val firstWeekContainsDate: Int = 1

get: public read-only

property months

source · line 14
public
public val months: Array<String> =
        [
            "January",
            "February",
            "March",
            "April",
            "May",
            "June",
            "July",
            "August",
            "September",
            "October",
            "November",
            "December"
        ]

get: public read-only

property previousMonth

source · line 37
public
public val previousMonth: String = "Previous month"

get: public read-only

Accessible name for the existing previous-page action.

constructor constructor

source · line 13
public
constructor(public val months: Array<String> =
        [
            "January",
            "February",
            "March",
            "April",
            "May",
            "June",
            "July",
            "August",
            "September",
            "October",
            "November",
            "December"
        ], public val shortMonths: Array<String> =
        ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], public val weekdays: Array<String> = ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"], public val weekStartsOn: DayOfWeek = DayOfWeek.Sunday, public val firstWeekContainsDate: Int = 1, public val number: (Int) -> String = { value -> value.toString() }, public val date: (LocalDate) -> String = { value -> value.toString() }, public val previousMonth: String = "Previous month", public val nextMonth: String = "Next month")

parameter firstWeekContainsDate

source · line 33
public
public val firstWeekContainsDate: Int = 1

parameter shortMonths

source · line 29
public
public val shortMonths: Array<String> =
        ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]

parameter months

source · line 14
public
public val months: Array<String> =
        [
            "January",
            "February",
            "March",
            "April",
            "May",
            "June",
            "July",
            "August",
            "September",
            "October",
            "November",
            "December"
        ]

property weekdays

source · line 31
public
public val weekdays: Array<String> = ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"]

get: public read-only