@@ -12,20 +12,20 @@ const date = new Temporal.PlainDate(2000, 5, 2);
1212
1313const string = date . toPlainDateTime ( "11:30:23" ) ;
1414TemporalHelpers . assertPlainDateTime ( string , 2000 , 5 , "M05" , 2 , 11 , 30 , 23 , 0 , 0 , 0 , "string" ) ;
15- assert . sameValue ( string . calendar , date . calendar , "string calendar" ) ;
15+ assert . sameValue ( string . calendarId , date . calendarId , "string calendar" ) ;
1616
1717const optionBag = date . toPlainDateTime ( { hour : 11 , minute : 30 , second : 23 } ) ;
1818TemporalHelpers . assertPlainDateTime ( optionBag , 2000 , 5 , "M05" , 2 , 11 , 30 , 23 , 0 , 0 , 0 , "option bag" ) ;
19- assert . sameValue ( optionBag . calendar , date . calendar , "option bag calendar" ) ;
19+ assert . sameValue ( optionBag . calendarId , date . calendarId , "option bag calendar" ) ;
2020
2121const plainTime = date . toPlainDateTime ( Temporal . PlainTime . from ( "11:30:23" ) ) ;
2222TemporalHelpers . assertPlainDateTime ( plainTime , 2000 , 5 , "M05" , 2 , 11 , 30 , 23 , 0 , 0 , 0 , "PlainTime" ) ;
23- assert . sameValue ( plainTime . calendar , date . calendar , "PlainTime calendar" ) ;
23+ assert . sameValue ( plainTime . calendarId , date . calendarId , "PlainTime calendar" ) ;
2424
2525const plainDateTime = date . toPlainDateTime ( Temporal . PlainDateTime . from ( "1999-07-14T11:30:23" ) ) ;
2626TemporalHelpers . assertPlainDateTime ( plainDateTime , 2000 , 5 , "M05" , 2 , 11 , 30 , 23 , 0 , 0 , 0 , "PlainDateTime" ) ;
27- assert . sameValue ( plainDateTime . calendar , date . calendar , "PlainDateTime calendar" ) ;
27+ assert . sameValue ( plainDateTime . calendarId , date . calendarId , "PlainDateTime calendar" ) ;
2828
2929const zonedDateTime = date . toPlainDateTime ( Temporal . ZonedDateTime . from ( "1999-07-14T11:30:23Z[UTC]" ) ) ;
3030TemporalHelpers . assertPlainDateTime ( zonedDateTime , 2000 , 5 , "M05" , 2 , 11 , 30 , 23 , 0 , 0 , 0 , "ZonedDateTime" ) ;
31- assert . sameValue ( zonedDateTime . calendar , date . calendar , "ZonedDateTime calendar" ) ;
31+ assert . sameValue ( zonedDateTime . calendarId , date . calendarId , "ZonedDateTime calendar" ) ;
0 commit comments