mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:57:44 +00:00
LibTimeZone: Add an API to retrieve a list of all known IANA time zones
This commit is contained in:
parent
0a4430fc41
commit
da27937144
3 changed files with 27 additions and 0 deletions
|
@ -25,6 +25,7 @@ struct Offset {
|
|||
};
|
||||
|
||||
StringView current_time_zone();
|
||||
Span<StringView const> all_time_zones();
|
||||
|
||||
Optional<TimeZone> time_zone_from_string(StringView time_zone);
|
||||
StringView time_zone_to_string(TimeZone time_zone);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue