CleanTimeEvent

public enum CleanTimeEvent : Equatable

This enum is used as the response from the lastCleantimeMilestone computed property. This denotes the milestones that we use in NA.

  • Invalid (less than one day)

    Declaration

    Swift

    case invalid
  • One day (24 hours)

    Declaration

    Swift

    case oneDay
  • Thirty days (around a month)

    Declaration

    Swift

    case thirtyDays
  • Sixty days (around two months)

    Declaration

    Swift

    case sixtyDays
  • Ninety days (around three months)

    Declaration

    Swift

    case ninetyDays
  • Six months

    Declaration

    Swift

    case sixMonths
  • Nine months

    Declaration

    Swift

    case nineMonths
  • One year (12 months -may be different for leap years)

    Declaration

    Swift

    case oneYear
  • One and a half years

    Declaration

    Swift

    case eighteenMonths
  • Multiple years (associated value is the number of years between 2 and 5)

    Declaration

    Swift

    case years(numberOfYears: Int)
  • Five years

    Declaration

    Swift

    case fiveYears
  • Ten years

    Declaration

    Swift

    case tenYears
  • Fifteen years

    Declaration

    Swift

    case fifteenYears
  • Twenty years

    Declaration

    Swift

    case twentyYears
  • Twenty-five years

    Declaration

    Swift

    case twentyFiveYears
  • Ten thousand days (27.4 years)

    Declaration

    Swift

    case tenThousandDays
  • Thirty years

    Declaration

    Swift

    case thirtyYears
  • Forty years

    Declaration

    Swift

    case fortyYears