Calendar.getEra

When overridden, returns the era in the specified Time.

class Calendar
abstract
uint
getEra
(
Time time
)

Return Value

Type: uint

An integer representing the ear in time.

Meta