TimeIntervalType

public enum TimeIntervalType : Equatable, Hashable

Indicate a type of periodic time intervals to select.

  • Undocumented

    Declaration

    Swift

    case daily(period: Double, startingAtHours: Double)
  • Undocumented

    Declaration

    Swift

    public static var days: TimeIntervalType
  • Undocumented

    Declaration

    Swift

    public static func days(period: Double? = nil,
                            startingAtHours: Double? = nil) -> TimeIntervalType
  • Undocumented

    Declaration

    Swift

    case weekly(period: Double, startingOn: DayOfWeek)
  • Undocumented

    Declaration

    Swift

    public static var weeks: TimeIntervalType
  • Undocumented

    Declaration

    Swift

    public static func weeks(period: Double? = nil,
                             startingOn: DayOfWeek? = nil) -> TimeIntervalType
  • Undocumented

    Declaration

    Swift

    case monthly(period: Int, startingOn: Int)
  • Undocumented

    Declaration

    Swift

    public static var months: TimeIntervalType
  • Undocumented

    Declaration

    Swift

    public static func months(period: Int? = nil,
    startingOn: Int? = nil) -> TimeIntervalType
  • Undocumented

    Declaration

    Swift

    case quarterly(period: Int, startingOnMonthOfQuarter: Int)
  • Undocumented

    Declaration

    Swift

    public static var quarters: TimeIntervalType
  • Undocumented

    Declaration

    Swift

    public static func quarters(period: Int? = nil,
                                startingOnMonthOfQuarter: Int? = nil) -> TimeIntervalType
  • Undocumented

    Declaration

    Swift

    case yearly(period: Int, startingOnMonth: Int)
  • Undocumented

    Declaration

    Swift

    public static var years: TimeIntervalType
  • Undocumented

    Declaration

    Swift

    public static func years(period: Int? = nil,
                             startingOnMonth: Int? = nil) -> TimeIntervalType
  • Undocumented

    Declaration

    Swift

    case decennially(period: Int, startingOnYearOfDecade: Int)
  • Undocumented

    Declaration

    Swift

    public static var decades: TimeIntervalType
  • Undocumented

    Declaration

    Swift

    public static func decades(period: Int? = nil,
                               startingOnYearOfDecade: Int? = nil) -> TimeIntervalType
  • Undocumented

    Declaration

    Swift

    case centennially(period: Int, startingOnYearOfCentury: Int)
  • Undocumented

    Declaration

    Swift

    public static var centuries: TimeIntervalType
  • Undocumented

    Declaration

    Swift

    public static func centuries(period: Int? = nil,
                                 startingOnYearOfCentury: Int? = nil) -> TimeIntervalType
  • Undocumented

    Declaration

    Swift

    case millennially(period: Int, startingOnYearOfMillennium: Int)
  • Undocumented

    Declaration

    Swift

    public static var millenia: TimeIntervalType
  • Undocumented

    Declaration

    Swift

    public static func millenia(period: Int? = nil,
                                startingOnYearOfMillennium: Int? = nil) -> TimeIntervalType
  • Undocumented

    Declaration

    Swift

    case halfdaily(period: Double, startingAtHour: Double)
  • Undocumented

    Declaration

    Swift

    public static var halfdays: TimeIntervalType
  • Undocumented

    Declaration

    Swift

    public static func halfdays(period: Double? = nil,
                                startingAtHour: Double? = nil) -> TimeIntervalType
  • Undocumented

    Declaration

    Swift

    case hourly(period: Double, startingAtMinute: Double)
  • Undocumented

    Declaration

    Swift

    public static var hours: TimeIntervalType
  • Undocumented

    Declaration

    Swift

    public static func hours(period: Double? = nil,
                             startingAtMinute: Double? = nil) -> TimeIntervalType
  • Undocumented

    Declaration

    Swift

    case minutely(period: Double, startingAtSecond: Double)
  • Undocumented

    Declaration

    Swift

    public static var minutes: TimeIntervalType
  • Undocumented

    Declaration

    Swift

    public static func minutes(period: Double? = nil,
                               startingAtSecond: Double? = nil) -> TimeIntervalType
  • Undocumented

    Declaration

    Swift

    case secondly(period: Double, startingAtMillisecond: Double)
  • Undocumented

    Declaration

    Swift

    public static var seconds: TimeIntervalType
  • Undocumented

    Declaration

    Swift

    public static func seconds(period: Double? = nil,
                               startingAtMillisecond: Double? = nil) -> TimeIntervalType
  • Undocumented

    Declaration

    Swift

    case decisecondly(period: Double, startingAtMillisecondOfDecisecond: Double)
  • Undocumented

    Declaration

    Swift

    public static var deciseconds: TimeIntervalType
  • Undocumented

    Declaration

    Swift

    public static func deciseconds(
        period: Double? = nil,
        startingAtMillisecondOfDecisecond: Double? = nil) -> TimeIntervalType
  • Undocumented

    Declaration

    Swift

    case centisecondly(period: Double, startingAtMillisecondOfCentisecond: Double)
  • Undocumented

    Declaration

    Swift

    public static var centiseconds: TimeIntervalType
  • Undocumented

    Declaration

    Swift

    public static func centiseconds(
        period: Double? = nil,
        startingAtMillisecondOfCentisecond: Double? = nil) -> TimeIntervalType
  • Undocumented

    Declaration

    Swift

    case millisecondly(period: Double, startingAtNanosecondOfMillisecond: Double)
  • Undocumented

    Declaration

    Swift

    public static var milliseconds: TimeIntervalType
  • Undocumented

    Declaration

    Swift

    public static func milliseconds(
        period: Double? = nil,
        startingAtNanosecondOfMillisecond: Double? = nil) -> TimeIntervalType
  • Generates discrete moments or intervals separated by them. When values are not set, the current time is used instead.

    Declaration

    Swift

    case timeBased(values: [Time]?, separating: Bool)
  • Undocumented

    Declaration

    Swift

    public static var time: TimeIntervalType
  • Returns a type that would generate discrete moments or intervals separated by them. When values are not set, the current time would be used instead.

    Declaration

    Swift

    public static func time(
        _ values: [Time]? = nil, separating: Bool = false) -> TimeIntervalType
  • Returns a type that would generate a single discrete moment or two intervals separated by it.

    Declaration

    Swift

    public static func time(
        _ value: Time, separating: Bool = false) -> TimeIntervalType
  • Generates intervals as defined by the specified type, except that they would be limited by the input interval that the selector is called for. At runtime this produces a live effect of changing the marginal intervals in the scrolling diagram to fit the visible timeline of the viewport.

    Declaration

    Swift

    indirect case visibleTimelineBased(type: TimeIntervalType)
  • Undocumented

    Declaration

    Swift

    public static var visibleTimeline: TimeIntervalType
  • Returns a type that would generate intervals as defined by the specified type, except that they would be limited by the input interval that the selector is called for. At runtime this produces a live effect of changing the marginal intervals in the scrolling diagram to fit the visible timeline of the viewport.

    Declaration

    Swift

    public static func visibleTimeline(_ type: TimeIntervalType) -> TimeIntervalType