Companion

object Companion

Functions

Link copied to clipboard

Creates a new local DateTimeTz from a unix time applied

Link copied to clipboard

Creates a new local DateTimeTz from a unix time

Link copied to clipboard
fun local(local: DateTime, offset: TimezoneOffset): DateTimeTz

Creates a new DateTimeTz with the utc date and an offset. The utc components will be the same as this independently on the offset.

Link copied to clipboard

Returns the current local DateTimeTz

Link copied to clipboard

Creates a new DateTimeTz with the utc date and an offset. The utc components might be different depending on the offset.