LibJS: Implement Temporal.PlainDate.prototype.add/subtract/equals

This commit is contained in:
Timothy Flynn 2024-11-22 10:54:15 -05:00 committed by Andreas Kling
commit c2ead84bd9
Notes: github-actions[bot] 2024-11-23 13:48:09 +00:00
7 changed files with 133 additions and 0 deletions

View file

@ -51,5 +51,6 @@ String pad_iso_year(i32 year);
String temporal_date_to_string(PlainDate const&, ShowCalendar);
bool iso_date_within_limits(ISODate);
i8 compare_iso_date(ISODate, ISODate);
ThrowCompletionOr<GC::Ref<PlainDate>> add_duration_to_date(VM&, ArithmeticOperation, PlainDate const&, Value temporal_duration_like, Value options);
}