mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibJS: Enable EXPLICIT_SYMBOL_EXPORT
This commit is contained in:
parent
83846b3861
commit
c14173f651
Notes:
github-actions[bot]
2025-06-30 16:51:52 +00:00
Author: https://github.com/ayeteadoe
Commit: c14173f651
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5215
Reviewed-by: https://github.com/ADKaster ✅
258 changed files with 952 additions and 941 deletions
|
@ -7,20 +7,21 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/Types.h>
|
||||
#include <LibJS/Forward.h>
|
||||
|
||||
namespace JS::Temporal {
|
||||
|
||||
// 13.3 Date Equations, https://tc39.es/proposal-temporal/#sec-date-equations
|
||||
|
||||
u16 mathematical_days_in_year(i32 year);
|
||||
u8 mathematical_in_leap_year(double time);
|
||||
double epoch_time_to_day_number(double time);
|
||||
double epoch_day_number_for_year(double year);
|
||||
double epoch_time_for_year(double year);
|
||||
i32 epoch_time_to_epoch_year(double time);
|
||||
u16 epoch_time_to_day_in_year(double time);
|
||||
u8 epoch_time_to_month_in_year(double time);
|
||||
u8 epoch_time_to_week_day(double time);
|
||||
u8 epoch_time_to_date(double time);
|
||||
JS_API u16 mathematical_days_in_year(i32 year);
|
||||
JS_API u8 mathematical_in_leap_year(double time);
|
||||
JS_API double epoch_time_to_day_number(double time);
|
||||
JS_API double epoch_day_number_for_year(double year);
|
||||
JS_API double epoch_time_for_year(double year);
|
||||
JS_API i32 epoch_time_to_epoch_year(double time);
|
||||
JS_API u16 epoch_time_to_day_in_year(double time);
|
||||
JS_API u8 epoch_time_to_month_in_year(double time);
|
||||
JS_API u8 epoch_time_to_week_day(double time);
|
||||
JS_API u8 epoch_time_to_date(double time);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue