Package com.logicaldoc.util.time
Class JulianCalendarUtil
java.lang.Object
com.logicaldoc.util.time.JulianCalendarUtil
Utility methods to handle dates in the Julian epoch. Based on correction
 rules published here:
 https://www.urbisetorbis.org/conversione-giuliana-a-gregoriana/
- Since:
- 8.8.6
- Author:
- Marco Meschieri - LogicalDOC
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanisJulianDate(Date date) Checks if a date is before the institution of the gregorian calendar on Oct 4th 1582.static DatetoGregorian(Date julianDate) static Date
- 
Method Details- 
isJulianDateChecks if a date is before the institution of the gregorian calendar on Oct 4th 1582.- Parameters:
- date- The date to check
- Returns:
- true only if the date falls in the julian period
 
- 
toGregorian
- 
toJulian
 
-