This content has been marked as final. Show 3 replies
Google search: "java julian calendar"
Quote from the javadoc:
"GregorianCalendar is a hybrid calendar that supports both the Julian and Gregorian calendar systems".
If you want the Julian Day as in the number of day within the year (Jan 31 = 1, Dec 31 = 365 in a non-leap year), use a GregorianCalendar and call:
Manikanda Prabhu wrote:You might want to keep in mind also that there are different definitions for "Julian Day number".
Please let me know Is there any Java Method to generate Julian Day number given a Date.
So if you are attempting to meet a requirement that says that then you should ask for clarification about exactly what they mean.