CalendarDate — @gj-kit/expo-ui
@gj-kit/expo-ui에서 공개하는 interface입니다. package version 0.8.1의 release declaration을 그대로 표시합니다.
검증된 import 예제
섹션 제목: “검증된 import 예제”import { CalendarDate } from '@gj-kit/expo-ui';시그니처, 매개변수, 반환 타입
섹션 제목: “시그니처, 매개변수, 반환 타입”/** * 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;}이 선언은 매개변수, optionality, 제네릭, 반환값, 공개 union/type 계약의 정본입니다. 호출 전 필요한 환경·권한·오류 경계는 패키지 Golden path와 이 subpath의 import 조건을 함께 확인하세요.
Release context
섹션 제목: “Release context”- 패키지:
@gj-kit/expo-ui - 버전:
0.8.1 - 공개 entry:
. - 소스: GitHub
구현 주석
섹션 제목: “구현 주석”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.