リファレンス · ユリウス日 (julian パッケージの関数も)、暦、時刻系、恒星時、火星の時刻
Calendar型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Which calendar: gregorian and julian are used for every year (the proleptic calendars), and auto follows history: the Julian calendar to 1582-10-04 and the Gregorian from 1582-10-15.
インポート
import type { Calendar } from "@johnmorrisdotca/wakusei-planets/time";
定義
type Calendar = "gregorian" | "julian" | "auto";
例
import { type Calendar } from "@johnmorrisdotca/wakusei-planets/time";
const calendar: Calendar = "auto";
console.log(calendar);auto出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。