Package io.kvision.types

Multiplatform type definitions.

Types

Decimal
Link copied to clipboard
class Decimal
typealias Decimal = Double
typealias Decimal = BigDecimal
KFile
Link copied to clipboard
common
data class KFile(name: String, size: Int, content: String?)
A serializable class for a multiplatform File type.
LocalDate
Link copied to clipboard
class LocalDate
typealias LocalDate = Date
typealias LocalDate = LocalDate
LocalDateTime
Link copied to clipboard
class LocalDateTime
typealias LocalDateTime = Date
typealias LocalDateTime = LocalDateTime
LocalTime
Link copied to clipboard
class LocalTime
typealias LocalTime = Date
typealias LocalTime = LocalTime
OffsetDateTime
Link copied to clipboard
class OffsetDateTime
typealias OffsetDateTime = Date
typealias OffsetDateTime = OffsetDateTime
OffsetTime
Link copied to clipboard
class OffsetTime
typealias OffsetTime = Date
typealias OffsetTime = OffsetTime

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
toTimeF
Link copied to clipboard
fun String.toTimeF(): LocalTime

Properties

KV_DEFAULT_DATE_FORMAT
Link copied to clipboard
js
const val KV_DEFAULT_DATE_FORMAT: String