Instance Method インスタンスメソッド

isDateInToday(_:)

Indicates whether the given date is in “today.” 与えられた日付が「今日」のうちかどうかを指し示します。

Declaration 宣言

func isDateInToday(_ date: Date) -> Bool

Parameters パラメータ

date

The date for which to perform the calculation. それに対して計算を実行することになる日付。

Return Value 戻り値

true if the given date is in “today,” otherwise false. true、もし与えられた日付が “今日” の内ならば、そうでなければfalse

See Also 参照

Comparing Dates 日付を比較する