Pattern

Supported text-field input/output patterns.

Entries

Link copied to clipboard

YYYY/MM/DD - e.g. 2082/02/14.

Link copied to clipboard

YYYY-MM-DD - ISO-like, e.g. 2082-02-14.

Link copied to clipboard

DD/MM/YYYY - day-first, e.g. 14/02/2082.

Link copied to clipboard

DD-MM-YYYY - day-first dashed, e.g. 14-02-2082.

Properties

Link copied to clipboard
Link copied to clipboard

Number of ASCII digit characters expected (always 8 - YYYY + MM + DD).

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val length: Int

Total visible character count when the field is full (always 10).

Link copied to clipboard
Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.