The decomposed time components produced by SohlCalendarData, extending Foundry's base foundry.data.CalendarData.TimeComponents with SoHL era information so a date can be rendered relative to the world's epoch.

interface SohlCalendarComponents {
    beforeEra: boolean;
    eraAbbrev: string;
    eraName: string;
    eraYear: number;
}

Hierarchy

Properties

beforeEra: boolean

True when the date falls before the era's epoch (negative years).

eraAbbrev: string

Era abbreviation appropriate to beforeEra.

eraName: string

Era display name appropriate to beforeEra.

eraYear: number

Year number within the current era (always positive).