StructTm

data class StructTm(val tm_sec: Int, val tm_min: Int, val tm_hour: Int, val tm_mday: Int, val tm_mon: Int, val tm_year: Int, val tm_wday: Int, val tm_yday: Int, val tm_isdst: Int, val tm_gmtoff: Long, val tm_zone: String? = null)(source)

Struct tm from

Parameters

tm_sec

seconds (0..60)

tm_min

minutes (0..59)

tm_hour

hour (0..23)

tm_mday

Day of month (1..31)

tm_mon

Month (0..11) 0 - January

tm_year

Year - 1900

tm_wday

Day of week (0..6), 0 - Sunday

tm_yday

Day of year (0..365)

tm_isdst

Daylight savings flag

tm_gmtoff

Seconds East of UTC

tm_zone

Timezone abbreviation

Constructors

Link copied to clipboard
constructor(tm_sec: Int, tm_min: Int, tm_hour: Int, tm_mday: Int, tm_mon: Int, tm_year: Int, tm_wday: Int, tm_yday: Int, tm_isdst: Int, tm_gmtoff: Long, tm_zone: String? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tm_min: Int
Link copied to clipboard
val tm_mon: Int
Link copied to clipboard
val tm_sec: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tm_zone: String? = null

Functions

Link copied to clipboard
fun StructTm.pack(): Buffer
Link copied to clipboard
fun StructTm.packTo(sink: Sink)