Skip to content

Commit

Permalink
Temporal: Get receiver fields from a PlainDateTime in ZonedDateTime.w…
Browse files Browse the repository at this point in the history
…ith()
  • Loading branch information
ptomato committed Aug 16, 2023
1 parent 4155594 commit 01a4950
Showing 1 changed file with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,21 @@ const expected = [
// RejectObjectWithCalendarOrTimeZone
"get fields.calendar",
"get fields.timeZone",
// GetOffsetNanosecondsFor on receiver
"get this.timeZone.getOffsetNanosecondsFor",
"call this.timeZone.getOffsetNanosecondsFor",
// CalendarFields
"get this.calendar.fields",
"call this.calendar.fields",
// PrepareTemporalFields on receiver
"get this.timeZone.getOffsetNanosecondsFor",
"call this.timeZone.getOffsetNanosecondsFor",
"get this.calendar.day",
"call this.calendar.day",
"get this.timeZone.getOffsetNanosecondsFor",
"call this.timeZone.getOffsetNanosecondsFor",
"get this.calendar.month",
"call this.calendar.month",
"get this.timeZone.getOffsetNanosecondsFor",
"call this.timeZone.getOffsetNanosecondsFor",
"get this.calendar.monthCode",
"call this.calendar.monthCode",
"get this.timeZone.getOffsetNanosecondsFor",
"call this.timeZone.getOffsetNanosecondsFor",
"get this.calendar.year",
"call this.calendar.year",
// GetOffsetNanosecondsFor on receiver
"get this.timeZone.getOffsetNanosecondsFor",
"call this.timeZone.getOffsetNanosecondsFor",
// PrepareTemporalFields on argument
"get fields.day",
"get fields.day.valueOf",
Expand Down

0 comments on commit 01a4950

Please sign in to comment.