Dual-Life / Time-Piece

Object Oriented time objects
Other
15 stars 33 forks source link

ONE_YEAR is defined as 365.24225 days, but usually it is 365.2425 days #54

Open tzccinct opened 3 years ago

tzccinct commented 3 years ago

On Gregorian calendar, a mean year is 365.2425 days. But Time::Seconds defines ONE_YEAR as 365.24225 days.

https://github.com/Dual-Life/Time-Piece/blob/adc2264c2ca5da549260fa89ecbbf7ad3379497c/Seconds.pm#L28 https://github.com/Dual-Life/Time-Piece/blob/adc2264c2ca5da549260fa89ecbbf7ad3379497c/Seconds.pm#L242-L244

According to The Calendar FAQ,,

Isn’t there a 4000-year rule?

It has been suggested (by the astronomer John Herschel (1792-1871) among others) that a better approximation to the length of the tropical year would be 365969/4000 days = 365.24225 days. (...snip..) This rule has, however, not been officially adopted.

Why is an unofficial rule/value adopted in Time::Seconds? We might want to define ONE_YEAR as 365.2425 days.