LibJS: Implement Temporal.PlainTime.prototype.add/subtract

This commit is contained in:
Timothy Flynn 2024-11-23 13:31:32 -05:00 committed by Tim Flynn
commit 1c22011ed6
Notes: github-actions[bot] 2024-11-24 00:37:49 +00:00
6 changed files with 105 additions and 0 deletions

View file

@ -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);
}