node-dextrin - v0.1.0
    Preparing search index...

    Class export=

    DXN date (~D[YYYY-MM-DD]) โ€” a bare calendar date, no time-of-day or timezone component. Not backed by native JS Date internally: Date conflates date+time+instant into one epoch-ms value and can't represent a bare calendar date distinctly from midnight-somewhere โ€” exactly the ambiguity DXN.md ยง1.3 avoids by keeping date/time/ datetime as separate types. toDate()/fromDate() below offer a documented, UTC-midnight convention as a convenience, not as this class's actual storage.

    Index
    • Parameters

      • year: number
      • month: number

        1-12.

      • day: number

        1-31, validated against month/year.

      Returns export=

    day: number
    dxnType: string
    month: number
    year: number
    • Parameters

      • other: unknown

      Returns -1 | 0 | 1

    • Returns Date

      a JS Date at UTC midnight of this calendar date โ€” a documented convention, since Date can't hold a bare date on its own.