nextDay関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The day after date.
インポート
import { nextDay } from "@johnmorrisdotca/koyomi-calendars/animate";
定義
function nextDay(date: FlipDate): FlipDate
引数
| 名前 | 型 | 説明 |
|---|---|---|
date | FlipDate | A year, month and day. |
戻り値
FlipDate
The next day, across the end of a month or a year.
例
import { nextDay } from "@johnmorrisdotca/koyomi-calendars/animate";
console.log(nextDay({ year: 2026, month: 12, day: 31 }));{ year: 2027, month: 1, day: 1 }出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。