LibJS: Implement Temporal.PlainTime.prototype.since/until

This commit is contained in:
Timothy Flynn 2024-11-23 13:48:39 -05:00 committed by Tim Flynn
commit 85eef698b9
Notes: github-actions[bot] 2024-11-24 00:37:42 +00:00
6 changed files with 244 additions and 0 deletions

View file

@ -63,6 +63,7 @@ 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<Duration>> difference_temporal_plain_time(VM&, DurationOperation, PlainTime const&, Value other, Value options);
ThrowCompletionOr<GC::Ref<PlainTime>> add_duration_to_time(VM&, ArithmeticOperation, PlainTime const&, Value temporal_duration_like);
}