CalendarDate — @gj-kit/expo-ui
A public interface from @gj-kit/expo-ui. The signature below is taken directly from the 0.8.1 release declaration.
Verified import example
Section titled “Verified import example”import { CalendarDate } from '@gj-kit/expo-ui';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * Pure calendar-date math — the foundation of MonthCalendar and DateField. * * This module is deliberately clock-free and time-zone-free: nothing here reads * the current time, and the JavaScript Date object appears in no signature. * A CalendarDate is a plain civil date in the proleptic Gregorian calendar; * which instant it corresponds to (and in which time zone "today" falls) is the * application's decision. Like src/theme, this folder imports neither react nor * react-native, so Node scripts can load the math safely. *//** * A plain civil calendar date. `month` is 1–12 and `day` is 1–31; `year` is a * four-digit-key year (1–9999). Deliberately not a Date: a CalendarDate names a * day, not an instant, so no time zone can silently shift it. */interface CalendarDate { readonly year: number; /** 1–12. */ readonly month: number; /** 1–31, at most the length of the month. */ readonly day: number;}This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-ui - Version:
0.8.1 - Public entry:
. - Source: GitHub