method ZonedTime.isDst
Whether daylight saving time is in force at this instant.
Example:
use std.time { Time }
fn main() io {
print("{Time.ofUnixSeconds(1783000000).in(tz"Europe/Berlin").isDst()}")
}Вывод
true
pub(api) fn isDst() -> boolС версии. 1.0.0-beta
Возвращает
bool
Эффекты
не объявлены (чистая, пока тело не говорит иное)
Определено в: std/time/time.oxl:2189