@ -60,7 +60,7 @@ impl GetTemporalCalendar for JsObject<PlainDate> {
}
}
impl BuiltInObject for PlainDate {
impl BuiltInObject for PlainDate {
const NAME : JsString = StaticJsStrings ::PLAIN_DATE ;
const NAME : JsString = StaticJsStrings ::PLAIN_DATE_NAME ;
}
}
impl IntrinsicObject for PlainDate {
impl IntrinsicObject for PlainDate {
@ -126,7 +126,7 @@ impl IntrinsicObject for PlainDate {
BuiltInBuilder ::from_standard_constructor ::< Self > ( realm )
BuiltInBuilder ::from_standard_constructor ::< Self > ( realm )
. property (
. property (
JsSymbol ::to_string_tag ( ) ,
JsSymbol ::to_string_tag ( ) ,
Self ::NAME ,
StaticJsStrings ::PLAIN_DATE_TAG ,
Attribute ::CONFIGURABLE ,
Attribute ::CONFIGURABLE ,
)
)
. accessor (
. accessor (
@ -213,19 +213,19 @@ impl IntrinsicObject for PlainDate {
None ,
None ,
Attribute ::CONFIGURABLE ,
Attribute ::CONFIGURABLE ,
)
)
. static_method ( Self ::from , js_string ! ( "from" ) , 2 )
. static_method ( Self ::from , js_string ! ( "from" ) , 1 )
. static_method ( Self ::compare , js_string ! ( "compare" ) , 2 )
. static_method ( Self ::compare , js_string ! ( "compare" ) , 2 )
. method ( Self ::to_plain_year_month , js_string ! ( "toPlainYearMonth" ) , 0 )
. method ( Self ::to_plain_year_month , js_string ! ( "toPlainYearMonth" ) , 0 )
. method ( Self ::to_plain_month_day , js_string ! ( "toPlainMonthDay" ) , 0 )
. method ( Self ::to_plain_month_day , js_string ! ( "toPlainMonthDay" ) , 0 )
. method ( Self ::get_iso_fields , js_string ! ( "getISOFields" ) , 0 )
. method ( Self ::get_iso_fields , js_string ! ( "getISOFields" ) , 0 )
. method ( Self ::add , js_string ! ( "add" ) , 2 )
. method ( Self ::add , js_string ! ( "add" ) , 1 )
. method ( Self ::subtract , js_string ! ( "subtract" ) , 2 )
. method ( Self ::subtract , js_string ! ( "subtract" ) , 1 )
. method ( Self ::with , js_string ! ( "with" ) , 2 )
. method ( Self ::with , js_string ! ( "with" ) , 1 )
. method ( Self ::with_calendar , js_string ! ( "withCalendar" ) , 1 )
. method ( Self ::with_calendar , js_string ! ( "withCalendar" ) , 1 )
. method ( Self ::until , js_string ! ( "until" ) , 2 )
. method ( Self ::until , js_string ! ( "until" ) , 1 )
. method ( Self ::since , js_string ! ( "since" ) , 2 )
. method ( Self ::since , js_string ! ( "since" ) , 1 )
. method ( Self ::equals , js_string ! ( "equals" ) , 1 )
. method ( Self ::equals , js_string ! ( "equals" ) , 1 )
. method ( Self ::to_plain_datetime , js_string ! ( "toPlainDateTime" ) , 1 )
. method ( Self ::to_plain_datetime , js_string ! ( "toPlainDateTime" ) , 0 )
. build ( ) ;
. build ( ) ;
}
}
@ -235,7 +235,7 @@ impl IntrinsicObject for PlainDate {
}
}
impl BuiltInConstructor for PlainDate {
impl BuiltInConstructor for PlainDate {
const LENGTH : usize = 0 ;
const LENGTH : usize = 3 ;
const STANDARD_CONSTRUCTOR : fn ( & StandardConstructors ) -> & StandardConstructor =
const STANDARD_CONSTRUCTOR : fn ( & StandardConstructors ) -> & StandardConstructor =
StandardConstructors ::plain_date ;
StandardConstructors ::plain_date ;