CalendarHelper
struct CalendarHelper
Undocumented
-
Undocumented
Declaration
Swift
var calendar: Calendar
-
Undocumented
Declaration
Swift
var dayFormatter: DateFormatter
-
Undocumented
Declaration
Swift
var monthFormatter: DateFormatter
-
Undocumented
Declaration
Swift
var monthYearFormatter: DateFormatter
-
Undocumented
Declaration
Swift
func getMonths(from startDate: Date, to endDate: Date) -> [Date]
-
Undocumented
Declaration
Swift
func getDays(forMonth month: Date) -> [Date]
-
Undocumented
Declaration
Swift
func getPaddedDays(forMonth month: Date) -> [Date?]
-
Undocumented
Declaration
Swift
func areOnSameDay(_ a: Date, _ b: Date) -> Bool
-
Undocumented
Declaration
Swift
func isToday(_ date: Date) -> Bool
-
Undocumented
Declaration
Swift
func isSameAsNow(_ date: Date, byComponents: Set<Calendar.Component>) -> Bool
-
Undocumented
Declaration
Swift
func dayString(for date: Date) -> String
-
Undocumented
Declaration
Swift
func monthString(for date: Date) -> String
-
Undocumented
Declaration
Swift
func monthYearString(for date: Date) -> String
-
Undocumented
Declaration
Swift
var daysInWeek: [String] { get }
-
Undocumented
Declaration
Swift
func weekdayAtStartOfMonth(for date: Date) -> Int?
-
Undocumented
Declaration
Swift
func startOfDay(for date: Date) -> Date?
-
Undocumented
Declaration
Swift
func startOfMonth(for date: Date) -> Date?
-
Undocumented
Declaration
Swift
func endOfMonth(for date: Date) -> Date?
-
Undocumented
Declaration
Swift
func startOfYear(for date: Date) -> Date?
-
Undocumented
Declaration
Swift
func endOfYear(for date: Date) -> Date?