ZonedDate

public struct ZonedDate : Hashable

The date type with the associated timezone.

  • Creates a new ZonedDate instance with given parameters.

    Declaration

    Swift

    public init(date: Date, timeZone: TimeZone)
  • The date value.

    Declaration

    Swift

    public let date: Date
  • The associated to the date timezone.

    Declaration

    Swift

    public let timeZone: TimeZone