mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:57:34 +00:00
LibTimeZone: Parse ZONE entries from the TZDB and generate their names
This commit is contained in:
parent
41f4a5050c
commit
9253e695d1
5 changed files with 260 additions and 4 deletions
17
Userland/Libraries/LibTimeZone/TimeZone.h
Normal file
17
Userland/Libraries/LibTimeZone/TimeZone.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Tim Flynn <trflynn89@pm.me>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Optional.h>
|
||||
#include <AK/StringView.h>
|
||||
#include <LibTimeZone/Forward.h>
|
||||
|
||||
namespace TimeZone {
|
||||
|
||||
Optional<TimeZone> time_zone_from_string(StringView time_zone);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue