method ZonedTime.abbreviation
The abbreviation of the zone at this instant (CEST, MSK, ...).
Example:
use std.time { Time }
fn main() io {
print(Time.ofUnixSeconds(1783000000).in(tz"Europe/Berlin").abbreviation())
}Вывод
CEST
pub(api) fn abbreviation() -> strС версии. 1.0.0-beta
Возвращает
str
Эффекты
не объявлены (чистая, пока тело не говорит иное)
Определено в: std/time/time.oxl:2203