Closed zabetak closed 3 months ago
No worries, I know what it is. I will add a method shortly and release it!
The old getJulianDayNumber()
is just the integer number of a day, but with a little twist (as Julian days start at noon). I will add a similar method to the new library.
You probably do not need Julian calendar dates. If you were not considering them explicitly, just use "gregorian" methods.
The thing is that day()
is not JDN. Added a method that calculates the jdn.
Published 7.1.0
The date
2023-05-23
in previous releases it was mapped to the Julian day2460088
while now (7.0.0) it is mapped to either2460087
or2460100
.org.jodd:jodd-core:3.5.2
org.jodd:jodd-util:6.0.0
org.jodd:julian-day:7.0.0
I am not sure which number is the correct one but the fact they are different creates compatibility problems when data are persistent and reading/writing is performed cross versions.