mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:17:36 +00:00
LibJS: Implement Temporal.PlainDate.prototype.year
This commit is contained in:
parent
3895a8354d
commit
8434ca6c4b
6 changed files with 55 additions and 0 deletions
|
@ -34,6 +34,7 @@ bool is_builtin_calendar(String const& identifier);
|
|||
Calendar* get_builtin_calendar(GlobalObject&, String const& identifier);
|
||||
Calendar* get_iso8601_calendar(GlobalObject&);
|
||||
Vector<String> calendar_fields(GlobalObject&, Object& calendar, Vector<StringView> const& field_names);
|
||||
double calendar_year(GlobalObject&, Object& calendar, Object& date_like);
|
||||
Object* to_temporal_calendar(GlobalObject&, Value);
|
||||
Object* to_temporal_calendar_with_iso_default(GlobalObject&, Value);
|
||||
Object* get_temporal_calendar_with_iso_default(GlobalObject&, Object&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue