TimeUnit

public enum TimeUnit

Describes a unit to be used in a time perspective.

  • Time unit that represents seconds.

    Declaration

    Swift

    case second
  • Time unit that represents minutes.

    Declaration

    Swift

    case minute
  • Time unit that represents hours.

    Declaration

    Swift

    case hour
  • day

    Time unit that represents days.

    Declaration

    Swift

    case day
  • Time unit that represents weeks.

    Declaration

    Swift

    case week