mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 02:56:10 +00:00
LibJS: Implement Temporal.PlainDate.prototype.until/since
This commit is contained in:
parent
abc6b679c3
commit
3aa4cdd314
Notes:
github-actions[bot]
2024-11-23 13:47:46 +00:00
Author: https://github.com/trflynn89
Commit: 3aa4cdd314
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2513
Reviewed-by: https://github.com/shannonbooth ✅
6 changed files with 587 additions and 0 deletions
|
@ -51,6 +51,7 @@ 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<Duration>> difference_temporal_plain_date(VM&, DurationOperation, PlainDate const&, Value other, Value options);
|
||||
ThrowCompletionOr<GC::Ref<PlainDate>> add_duration_to_date(VM&, ArithmeticOperation, PlainDate const&, Value temporal_duration_like, Value options);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue