Heroic Lands Heroic Lands
Home Thalorna Blog
Projects
Song of Heroic Lands HârnMaster 3 Modules API Documentation KnowledgeBase
License
  • Preparing search index...
  • The search index is not available
Song of Heroic Lands API - v0.8.2
  • Song of Heroic Lands API
  • sohl
  • core
  • logic
  • worldTimeToDateParts

Function worldTimeToDateParts

  • worldTimeToDateParts(calendar: SohlCalendarData, time: number): DateParts
  • Decompose a worldTime value into the editable calendar parts.

    Parameters

    • calendar: SohlCalendarData

      The active calendar.

    • time: number

      The worldTime value (seconds since epoch).

    Returns DateParts

    The month index, 1-based day, era year, before-era flag, and time of day.

    • Defined in src/core/logic/date-picker-logic.ts:94

Settings

Member Visibility
Song of Heroic Lands API - v0.8.2
  • Loading...

Generated using TypeDoc with typedoc-github-theme

© 2020–2026 Tom Rodriguez. Content under The World of Thalorna and Song of Heroic Lands is licensed under CC BY-SA 4.0; all other content is © Tom Rodriguez, all rights reserved. See License.

CC BY-SA 4.0 Discord