Package-level declarations

Types

Link copied to clipboard

Abbreviated (first 3 letters) English name of a day of the week.

Link copied to clipboard

LocalDate in the ISO 8601 basic format (YYYYMMDD).

Link copied to clipboard
typealias CountryCode = String

Country code following the ISO 3166-1 alpha-2 notation.

Link copied to clipboard
typealias CurrencyCode = String

Currency code following the ISO 4217 standard.

Link copied to clipboard

An integer representing the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970 (Unix epoch).

Link copied to clipboard
typealias ExtendedLocalDate = @Serializable(with = LocalDateIso8601Serializer::class) LocalDate

LocalDate in the ISO 8601 extended format (YYYY-MM-DD).

Link copied to clipboard
typealias ExtendedLocalTime = @Serializable(with = LocalTimeIso8601Serializer::class) LocalTime

LocalTime in the ISO 8601 extended format (HH:MM:SS).

Link copied to clipboard

Boolean value represented as an integer (1 for true, 0 for false).

Link copied to clipboard
Link copied to clipboard

Text localized to multiple languages.

Link copied to clipboard

Url localized to multiple languages.

Link copied to clipboard

Month of the year as a number from 1 to 12.

Link copied to clipboard

Opening hours in the OSM format.

Link copied to clipboard
value class RgbColor(val value: Int)

A 24-bit color with eight bits each for red, green, and blue components.

Link copied to clipboard

An RgbColor encoded as a six-digit hexadecimal number. The leading "#" MUST be included. Example: #FFFFFF for white or #000000 for black.

Link copied to clipboard

An RgbColor encoded as a six-digit hexadecimal number. The leading "#" MUST NOT be included. Example: FFFFFF for white or 000000 for black.

Link copied to clipboard
data class ServiceTime(val hours: Int, val minutes: Int, val seconds: Int) : Comparable<ServiceTime>

Time in the HH:MM:SS format (H:MM:SS is also accepted). The time is measured from "noon minus 12h" of the service day (effectively midnight except for days on which daylight savings time changes occur). For times occurring after midnight, enter the time as a value greater than 24:00:00 in HH:MM:SS local time for the day on which the trip schedule begins. Example: 14:30:00 for 2:30PM or 25:35:00 for 1:35AM on the next day.

Link copied to clipboard

Timestamp fields represented as strings in RFC3339 format.

Link copied to clipboard
typealias Uri = String

A fully qualified URI that includes the scheme (for example, com.example.android://). Any special characters in the URI MUST be correctly escaped.

Link copied to clipboard
typealias Url = String

A fully qualified URL that includes http:// or https://. Any special characters in the URL MUST be correctly escaped.

Link copied to clipboard

Duration as an integer of minutes.

Link copied to clipboard

Duration as an integer of seconds.