TimeRange

public struct TimeRange

Time range.

  • Start point of a time range. Inclusive.

    Declaration

    Swift

    public let from: Date
  • to

    End point of a time range. Inclusive.

    Declaration

    Swift

    public let to: Date
  • Initialize with form date and to date.

    Declaration

    Swift

    public init(_ from: Date, to: Date)