Skip to content

Instantly share code, notes, and snippets.

Avatar

Aaron Falls aaronfalls

View GitHub Profile
View DateRange.swift
import Foundation
extension Calendar {
func dateRange(start: Date,
end: Date,
stepUnits: Calendar.Component,
stepValue: Int) -> DateRange {
let dateRange = DateRange(calendar: self,
You can’t perform that action at this time.