Contents

isDaylightSavingTime(for:)

Indicates whether the receiver uses daylight saving time on a given date.

Declaration

func isDaylightSavingTime(for aDate: Date) -> Bool

Parameters

  • aDate:

    The date against which to test the receiver.

Return Value

true if the receiver uses daylight saving time at aDate, otherwise false.

See Also

Working with Daylight Savings