summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-09-16 02:11:23 +0300
committerLinus Groh <mail@linusgroh.de>2021-09-16 13:53:37 +0100
commit5ea1810ada65dc8c734ab12f1f9735055bb69b93 (patch)
tree46acdf4de0ec7cf523c9bb63c72c0e5ed3648708 /Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h
parent229a5ce149fea21d247910d1df85a42c9eae98a2 (diff)
downloadserenity-5ea1810ada65dc8c734ab12f1f9735055bb69b93.zip
LibJS: Convert PlainMonthDay AOs to ThrowCompletionOr
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h b/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h
index 0137fa0faa..b3fa0401bf 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h
@@ -39,8 +39,8 @@ struct ISOMonthDay {
i32 reference_iso_year;
};
-PlainMonthDay* to_temporal_month_day(GlobalObject&, Value item, Object const* options = nullptr);
-PlainMonthDay* create_temporal_month_day(GlobalObject&, u8 iso_month, u8 iso_day, Object& calendar, i32 reference_iso_year, FunctionObject const* new_target = nullptr);
-Optional<String> temporal_month_day_to_string(GlobalObject&, PlainMonthDay&, StringView show_calendar);
+ThrowCompletionOr<PlainMonthDay*> to_temporal_month_day(GlobalObject&, Value item, Object const* options = nullptr);
+ThrowCompletionOr<PlainMonthDay*> create_temporal_month_day(GlobalObject&, u8 iso_month, u8 iso_day, Object& calendar, i32 reference_iso_year, FunctionObject const* new_target = nullptr);
+ThrowCompletionOr<String> temporal_month_day_to_string(GlobalObject&, PlainMonthDay&, StringView show_calendar);
}