TimeUnitOperable

public protocol TimeUnitOperable

Supports addition and subtraction of Temporal.Time and Temporal.DateTime with TimeUnit

  • Declaration

    Swift

    static func + (left: Self, right: TimeUnit) -> Self
  • Declaration

    Swift

    static func - (left: Self, right: TimeUnit) -> Self