naoty / Timepiece

Intuitive date handling in Swift
MIT License
2.63k stars 147 forks source link

How to find number of days in a particular year? #87

Closed hemangshah closed 7 years ago

hemangshah commented 7 years ago

Is there any simple way to this with this library?

naoty commented 7 years ago

No, there isn't.

Using Calendar, you can get TimeInterval between two days, but cannot convert TimeInterval into number of days.