RelativePeriod

public enum RelativePeriod : String, Codable

Undocumented

  • Relative to the all time best - excluding the current activity/period

    Declaration

    Swift

    case allTime = "alltime"
  • Relative to the all time best - including the current activity/period

    Declaration

    Swift

    case bestEver = "bestever"
  • Relative to the time up until this activity/period

    Declaration

    Swift

    case toDate = "todate"
  • Relative to the time up until this activity/period minus 1 year

    Declaration

    Swift

    case toDateLastYear = "todatelastyear"
  • Relative to the given range

    Declaration

    Swift

    case thisRange = "thisrange"
  • Relative to the given range minus 1 year

    Declaration

    Swift

    case thisRangeLastYear = "thisrangelastyear"
  • Relative to the last 28 days prior to this activity/period

    Declaration

    Swift

    case last28Days = "last28days"
  • Relative to the last 3 months prior to this activity/period

    Declaration

    Swift

    case last3Months = "last3months"
  • Relative to the last 6 months prior to this activity/period

    Declaration

    Swift

    case last6Months = "last6months"
  • Relative to the last 12 months prior to this activity/period

    Declaration

    Swift

    case last12Months = "last12months"
  • Relative to the last 7 days prior to this activity/period

    Declaration

    Swift

    case last7Days = "last7days"