1. Calculate date difference [Gregorian calender] coderanch.com |
2. Julian to Gregorian date conversion coderanch.comI didn't get good response ranchers. Why? Anyways after lot googling got one solution. (courtesy: Get a julian date) import java.util.Calendar; public class JulianDate { /** * Returns the Julian day number that begins at noon of * this day, Positive year signifies A.D., negative year B.C. * Remember that the year after 1 B.C. was 1 A.D. * * ref ... |