LibJS: Implement Temporal.PlainMonthDay.prototype.with/equals

This commit is contained in:
Timothy Flynn 2024-11-20 18:08:07 -05:00 committed by Tim Flynn
commit 5389acc231
Notes: github-actions[bot] 2024-11-22 00:25:30 +00:00
10 changed files with 314 additions and 0 deletions

View file

@ -162,6 +162,7 @@ bool is_calendar_unit(Unit);
UnitCategory temporal_unit_category(Unit);
RoundingIncrement maximum_temporal_duration_rounding_increment(Unit);
Crypto::UnsignedBigInteger const& temporal_unit_length_in_nanoseconds(Unit);
ThrowCompletionOr<bool> is_partial_temporal_object(VM&, Value);
String format_fractional_seconds(u64, Precision);
String format_time_string(u8 hour, u8 minute, u8 second, u16 sub_second_nanoseconds, SecondsStringPrecision::Precision, Optional<TimeStyle> = {});
UnsignedRoundingMode get_unsigned_rounding_mode(RoundingMode, Sign);