Daniele Margutti
68540b8497
Removed checked for first and last day of week due to differences in running localizations
2020-11-15 12:04:04 +01:00
Daniele Margutti
cf09992f0b
fix #706 : Added unit tests
2020-09-16 16:11:29 +02:00
Daniele Margutti
52d209cfe4
Updated header copyright notices
2019-05-11 23:09:47 +02:00
Daniele Margutti
1b58abe7e2
#610 Fixes for self required inside closures
2019-01-20 09:53:46 +01:00
Daniele Margutti
36e59b1f93
Merge branch 'feature/5.1.0' into master
2019-01-20 09:50:34 +01:00
Daniele Margutti
3c040a08cb
Fixed unit test for quarterName
2018-10-26 21:16:31 +02:00
Daniele Margutti
a8949583cc
#536 Added test to validate ISO8601 absolute date respect
2018-10-26 21:01:30 +02:00
Cruz
508213012d
Use 'self` carefully and only when you need it
2018-10-27 01:08:12 +09:00
Daniele Margutti
9e01d75a45
#606 Added tests and updated documentation
2018-10-13 15:14:48 +02:00
Daniele Margutti
7ede730b90
#585 Fixed unit tests
2018-09-18 23:16:10 +02:00
Daniele Margutti
9e53544884
#585 Tests
2018-09-18 23:08:11 +02:00
Daniele Margutti
01a5fd9c08
Several fixes for SwiftLint, ordinalDay is available since iOS9 and macOS 11, added @available to function specs
2018-07-12 10:02:29 +02:00
Daniele Margutti
503a77fc5d
#558 Added ordinalDay property to Date and DateInRegion
2018-07-12 09:45:34 +02:00
Daniele Margutti
4c35a7285d
Added ISO formatting
2018-07-01 20:30:28 +02:00
Daniele Margutti
351750b0a3
Added more tests
2018-06-29 12:54:29 +02:00
Daniele Margutti
b6744f3676
Added julianday and modified julian day tests
2018-06-20 23:04:36 +02:00
Daniele Margutti
3936e61a07
Added several other tests
2018-06-19 21:22:12 +02:00
Daniele Margutti
5115fa8f70
Working on 5.0.0 release
2018-06-07 18:10:30 +02:00
Daniele Margutti
b7fab7f559
#505
2017-11-26 12:15:42 +01:00
Daniele Margutti
78d486f0ea
Fix #480 - Fix 2-" operator with DateTimeInterval
...
Fix #480 - Fix 2-" operator with DateTimeInterval. a-b now remove b from a absolute interval (so if b is later than b you will get a negative time interval result).
2017-09-14 19:27:29 +02:00
Daniele Margutti
1598e08495
Restored all changes for 4.1.8
2017-09-03 20:07:50 +02:00
Daniele Margutti
d6bbfd022c
Added unit tests for nextWeek/month prevWeek/month
2017-07-16 16:27:56 +02:00
dan
057aafb75b
New configuration for CocoaPods and Carthage
...
- New configuration for CocoaPods and Carthage
- Resolved a bug with time components algebra when one of the time components of a side is undefined
2017-07-06 21:50:37 +02:00
daniele margutti
4bcd67ad4d
- #409 Fixed an issue converting a difference between two dates when its more than 24 hours, but less than 48 hours (incorrectly the colloquial values returns 'yesterday')
...
- FIX Several fixes while parsing less common `ISO8601` formats (weeks only w/wo implicit year/month/day)
- FIX Parsing an `ISO8601` string now results in a `DateInRegion` which contains the correct timezone defined (`Date` instances are now converted automatically to be time-independent).
- UNIT TESTS Updated Unit Tests to become compatible with the new APIs changes. All tests now passes.
- Single framework target in XCode Project (iOS, macOS, tvOS and watchOS).
- `Date` and `DateInRegion` has now two functions to round a date to certain interval (expressed in `seconds` or `minutes`). `DateInRegion` exposes `roundAt()` which directly modify the date itself; `Date`, as immutable object, exposes the same feature in `roundedAt()` function (which return a new `Date` instances).
2017-04-06 17:21:32 +02:00
Ilan Ben Tal
7bcfeff0a4
Added: parts of day variables
2017-02-21 08:40:44 +02:00
Edward Huynh
1d989cf9a6
update tests to use the singular variants
2016-10-19 16:12:32 +11:00
daniele margutti
b509c72164
Added support for Swift Package Manager-incomplete
...
SwiftDate.bundle is not copied so tests with swift test does not work.
2016-10-01 21:15:14 +02:00