method Temporal.CalendarProtocol.eraYear CalendarProtocol.eraYear(date: Temporal.PlainDate | Temporal.PlainDateTime | PlainDateLike | string): number | undefined Parameters date: Temporal.PlainDate | Temporal.PlainDateTime | PlainDateLike | string Return Type number | undefined