mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:57:44 +00:00
LibJS: Implement the LocalTime, UTC, and TimeWithinDay AOs
This commit is contained in:
parent
5f5bcd549e
commit
d93713b874
2 changed files with 24 additions and 0 deletions
|
@ -105,7 +105,10 @@ u8 sec_from_time(double);
|
|||
u16 ms_from_time(double);
|
||||
u8 week_day(double);
|
||||
double local_tza(double time, bool is_utc, Optional<StringView> time_zone_override = {});
|
||||
double local_time(double time);
|
||||
double utc_time(double time);
|
||||
double day(double);
|
||||
double time_within_day(double);
|
||||
Value make_time(GlobalObject& global_object, Value hour, Value min, Value sec, Value ms);
|
||||
Value make_day(GlobalObject& global_object, Value year, Value month, Value date);
|
||||
Value make_date(Value day, Value time);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue