updated names of functions
This commit is contained in:
parent
478b7fda1b
commit
5e36106d66
@ -109,11 +109,11 @@ extension Date {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func isGreaterThanOrEqualToDate(_ date: Date) -> Bool {
|
func isGreaterThanOrEqualToDate(_ date: Date) -> Bool {
|
||||||
return isEqualToDate(date) || isGreaterThenDate(date)
|
return isEqualToDate(date) || isGreaterThanDate(date)
|
||||||
}
|
}
|
||||||
|
|
||||||
func isLessThanOrEqualToDate(_ date: Date) -> Bool {
|
func isLessThanOrEqualToDate(_ date: Date) -> Bool {
|
||||||
return isEqualToDate(date) || isLessThenDate(date)
|
return isEqualToDate(date) || isLessThanDate(date)
|
||||||
}
|
}
|
||||||
/// Note: This methods compare two dates without considering the time
|
/// Note: This methods compare two dates without considering the time
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user