4 Topics
|
|
While referring to a particular course I came across the following code to retrieve the current day: int julianStartDay = Time.getJulianDay(System.currentTimeMillis(), dayTime.gmtoff); long dateTime; dateTime = dayTime.setJulianDay(julianStartDay); day = getReadableDateString(dateTime); private String getReadableDateString(long time){ SimpleDateFormat shortenedDateFormat = new SimpleDateFormat("E MMM d"); return shortenedDateFormat.format(time); } My doubt is why are we … |
|
Hi I am trying to convert julian date in to date format. can any one please help me. **For Example:** Julian date - 114021 Output Should be as below 2014/01/21 - (YYYY/MM/DD) |
|
Programming just for fun. |
|
I am new to Java and could use some help. Trying to write something using scanner or a JoptionPane to convert inputs from Gregorian to Julian. Then use interface to convert it the other way. How do I start and what do I do? |
The End.