Skip to main content
Module

x/kokr/mod.ts>DateInfo

한국/한국어와 관련된 라이브러리
Latest
interface DateInfo
import { type DateInfo } from "https://deno.land/x/kokr@0.4.0/mod.ts";

공휴일 상세 정보

Properties

date: string

YYYY-MM-DD

name: string

이름

holiday: boolean

공휴일 여부

remarks: string | null

API에서 주는 정보, 해당 기념일에 대한 기타 설명이 포함된 경우가 있음.

kind: DateKind

공휴일인지, 기념일인지, 24절기인지.. enum 참고

time: string | null

HH:mm 정확한 표준 시간, DateKind.SolarTerms(24절기) 경우 반환

sunLng: number | null

태양황경(도), DateKind.SolarTerms(24절기) 경우 반환