OxL Reference

method Tz.toString

The zone name.

Example:

oxl✓ checked in CI
fn main() io {
  print(tz"Asia/Tokyo".toString())
}
Output
Asia/Tokyo
pub(api) fn toString() -> str

Since. 1.0.0-beta

Returns

str

Effects

none declared (pure unless the body says otherwise)

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

See also