java - How to get month according to day of year -
I have input Back 1 (with 0 from the start of months). 34 meaning its third day February How to programmatically determine Java in and month name or month month value such as 0 to get from day to day In java it handles i searched in calendar class but no one found
calendar cal = calendar.justinstance (); Cal.set (Calendar: DAY_OF_YEAR, 34); Println (cal.get (Calendar.MONTH));
Comments
Post a Comment