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

    Class export=

    DXN datetime (@datetime "...") — a fixed-offset, non-UTC instant. Stored as { epochMicroseconds, offsetMinutes }, mirroring .dxnb's own wire shape (DXN.md §2.2) directly. offsetMinutes is informational only for toDate(): native JS Date has no offset concept of its own (it always normalizes to the same UTC instant either way), so the conversion is lossless for the instant itself but drops which offset it was originally expressed in.

    Index
    dxnType: string
    epochMicroseconds: bigint
    offsetMinutes: number
    • Returns Date

      the same instant, offset dropped (see class doc); lossy beyond millisecond precision like DXNTimestamp#toDate.

    • Parameters

      • date: Date
      • offsetMinutes: number

        required — a plain Date has no offset of its own to infer this from.

      Returns export=