List of utility methods to do Month
String | getQuarterLastMonth(String quarter) Determine the last month of each quarter based on quarter. if (null == quarter) { return null; String year = quarter.substring(0, 4); String quart = quarter.substring(4, 6); String month = ""; if (quart.equals("01")) { month = "03"; ... |
String | getRSLILMonth(int month) get RSLIL Month String rslilMonth = ""; switch (month) { case 0: rslilMonth = "Jan"; break; case 1: rslilMonth = "Feb"; break; ... |
long | getSecondByMonth(int month) get Second By Month return getSecondByDay(month * 30);
|
String | getStatis_month() get Statimonth return statis_month;
|
String | getTargetMonth(Integer targetYm) get Target Month return targetYm.toString().substring(4, 6);
|
long | getTotalMonths(long time) get Total Months return time / daysInMonth;
|
String | getYMonth(String dateFromDB) get Y Month return dateFromDB.subSequence(0, 10).toString();
|
String | impleMonth(int month) imple Month String monthStr = new Integer(month).toString(); if (monthStr.length() == 1) { monthStr = "0" + monthStr; return monthStr; |
String | intToMonth(int m) int To Month switch (m) { case 0: return "Jan"; case 1: return "Feb"; case 2: return "Mar"; case 3: ... |
boolean | isMonthInRange(int month) Test to see if an integer is in the range of integers that can be months of the year. boolean result = false; if (month > 0 && month < 13) { result = true; return result; |