Package io.kvision.types

Multiplatform type definitions.

Multiplatform type definitions.

Multiplatform type definitions.

Types

Decimal
Link copied to clipboard
expect class Decimal
actual typealias Decimal = Double
actual typealias Decimal = BigDecimal
KFile
Link copied to clipboard
data class KFile(name: String, size: Int, content: String?)

A serializable class for a fullstack File type.

LocalDate
Link copied to clipboard
expect class LocalDate
actual typealias LocalDate = <ERROR CLASS>
actual typealias LocalDate = LocalDate
LocalDateTime
Link copied to clipboard
expect class LocalDateTime
actual typealias LocalDateTime = <ERROR CLASS>
actual typealias LocalDateTime = LocalDateTime
LocalTime
Link copied to clipboard
expect class LocalTime
actual typealias LocalTime = <ERROR CLASS>
actual typealias LocalTime = LocalTime
OffsetDateTime
Link copied to clipboard
expect class OffsetDateTime
actual typealias OffsetDateTime = <ERROR CLASS>
actual typealias OffsetDateTime = OffsetDateTime
OffsetTime
Link copied to clipboard
expect class OffsetTime
actual typealias OffsetTime = <ERROR CLASS>
actual typealias OffsetTime = OffsetTime
ZonedDateTime
Link copied to clipboard
expect class ZonedDateTime
actual typealias ZonedDateTime = <ERROR CLASS>
actual typealias ZonedDateTime = ZonedDateTime

Functions

toDateF
Link copied to clipboard
fun String.toDateF(): LocalDate
toDateTimeF
Link copied to clipboard
fun String.toDateTimeF(): LocalDateTime
toOffsetDateTimeF
Link copied to clipboard
fun String.toOffsetDateTimeF(): OffsetDateTime
toOffsetTimeF
Link copied to clipboard
fun String.toOffsetTimeF(): OffsetTime
toStringF
Link copied to clipboard
fun LocalDate.toStringF(): String
fun LocalDateTime.toStringF(): String
fun LocalTime.toStringF(): String
fun OffsetDateTime.toStringF(): String
fun OffsetTime.toStringF(): String
fun ZonedDateTime.toStringF(): String
toTimeF
Link copied to clipboard
fun String.toTimeF(): LocalTime
toZonedDateTimeF
Link copied to clipboard
fun String.toZonedDateTimeF(): ZonedDateTime

Properties

KV_DEFAULT_DATE_FORMAT
Link copied to clipboard
const val KV_DEFAULT_DATE_FORMAT: String