mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 04:37:22 +00:00
LibJS: Implement Temporal.PlainTime.prototype.add/subtract
This commit is contained in:
parent
ab3c825fa8
commit
1c22011ed6
Notes:
github-actions[bot]
2024-11-24 00:37:49 +00:00
Author: https://github.com/trflynn89
Commit: 1c22011ed6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2535
6 changed files with 105 additions and 0 deletions
|
@ -63,5 +63,6 @@ String time_record_to_string(Time const&, SecondsStringPrecision::Precision);
|
|||
i8 compare_time_record(Time const&, Time const&);
|
||||
Time add_time(Time const&, TimeDuration const& time_duration);
|
||||
Time round_time(Time const&, u64 increment, Unit, RoundingMode);
|
||||
ThrowCompletionOr<GC::Ref<PlainTime>> add_duration_to_time(VM&, ArithmeticOperation, PlainTime const&, Value temporal_duration_like);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue