mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 04:44:58 +00:00

...and ten required AOs we didn't have yet: - BalanceISODate - BalanceISODateTime - BalanceISOYearMonth - BalanceTime - BuiltinTimeZoneGetPlainDateTimeFor - GetISOPartsFromEpoch - GetOffsetNanosecondsFor - ParseTemporalTimeZone - SystemDateTime - ToTemporalTimeZone
21 lines
354 B
C++
21 lines
354 B
C++
/*
|
|
* Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibJS/Runtime/Temporal/AbstractOperations.h>
|
|
#include <LibJS/Runtime/Value.h>
|
|
|
|
namespace JS::Temporal {
|
|
|
|
struct ISOYearMonth {
|
|
i32 year;
|
|
u8 month;
|
|
};
|
|
|
|
ISOYearMonth balance_iso_year_month(i32 year, i32 month);
|
|
|
|
}
|