LibJS: Enable EXPLICIT_SYMBOL_EXPORT

This commit is contained in:
ayeteadoe 2025-06-28 21:39:13 -07:00 committed by Andrew Kaster
commit c14173f651
Notes: github-actions[bot] 2025-06-30 16:51:52 +00:00
258 changed files with 952 additions and 941 deletions

View file

@ -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);
}