🐔 Toolkit to parse, validate, manipulate, compare and display dates, time & timezones in Swift.
Released on: 2020-11-16
.dateMixed
format options to toString()
method to format dateTime with differing date and time styles..automatic
, .static
and .dynamic
linking support in order to share same package between multiple targets..asLocale()
to String
object to transform identifier in an NSLocale objectS.sharedOrdinalNumberFormatter
.Released on: 2020-09-16
Released on: 2019-09-13
DateInRegion
dates.difference()
and differences()
methods to get the difference between two dates expressed in variuous time components with respect to the other date as a positive integer.dateAt(dayOfMonth:monthNumber:yearNumber:)
method to returns the date on the given day of month preserving smaller components.dateAfter(weeks:on:)
method to returns the date after given number of weeks on the given day of week.next(:withWeekOfMonth:andMonthNumber:)
method to returns next date with the given weekday and the given week number.next(dayOfMonth:monthOfYear:)
method to returns the next day of month preserving smaller components (hour, minute, seconds).Released on: 2019-05-12
toISODate()
which ignores explicitly passed Region
instance. Now if region is passed it overrides any parsed timezone from ISO source string.toClock()
on the first digit.RelativeFormatter
's languages files to json. This currently breaks Linux compatibility because SPM does not support bundled resources.dateAt(weekdayOrdinal:weekday:monthNumber:yearNumber:)
nextWeekday()
to both Date and DateInRegionReleased on: 2019-04-16
ISOFormatter
options withoutTZSeparators
which produces empty string results if not paired with withInternetDateTimeExtended
TimeInterval.ComponentsFormatterOptions
reverted to public visibilityround
function (glib/darwin)httpFormat
format which are not valid for Unicode Technical Reference #35
Released on: 2019-03-27
toISO()
output parsing date string from non Gregorian calendarsRoundingStrategy
for RelativeFormatter.Gradation.Rule
Released on: 2019-01-20
Month
and Year
structures with circular operation support (ie. you can remove two days from monday
and you got saturday
or add two months to november
to get january
). All of these structures along with Weekday
support localized display of the represented value.Date
with TimeInterval
Asia/Saigon
in Zones
enumerationtoRelative()
methods when no quantifier is availableisInRange
where orEqual
parameter is not passed correctlyself