OxL Reference

method ZonedTime.abbreviation

The abbreviation of the zone at this instant (CEST, MSK, ...).

Example:

oxl✓ checked in CI
use std.time { Time }

fn main() io {
  print(Time.ofUnixSeconds(1783000000).in(tz"Europe/Berlin").abbreviation())
}
Output
CEST
pub(api) fn abbreviation() -> str

Since. 1.0.0-beta

Returns

str

Effects

none declared (pure unless the body says otherwise)

Defined in: std/time/time.oxl:2203

See also