JWTimeRange

@objcMembers
public class JWTimeRange : NSObject

Defines time range information.

  • The start time of the time range, expressed in seconds.

    Declaration

    Swift

    public let start: TimeInterval
  • end

    The end time of the time range, expressed in seconds.

    Declaration

    Swift

    public let end: TimeInterval
  • Equality testing between two different time ranges.

    Declaration

    Swift

    public static func == (lhs: JWTimeRange, rhs: JWTimeRange) -> Bool

    Parameters

    lhs

    The lefthand value.

    rhs

    The righthand value.

  • An integer hash representing the time range.

    Declaration

    Swift

    public override var hash: Int { get }
  • Initializer for setting start and end.

    Declaration

    Swift

    public init(start: TimeInterval, end: TimeInterval)

    Parameters

    start

    The start of the timer range, expressed in seconds.

    end

    The end of the time range, expressed in seconds.