Java Month getRSLILMonth(int month)

Here you can find the source of getRSLILMonth(int month)

Description

get RSLIL Month

License

Open Source License

Declaration

private static String getRSLILMonth(int month) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    private static String getRSLILMonth(int month) {
        String rslilMonth = "";

        switch (month) {
        case 0://w  ww . j a  va2s  .  c om
            rslilMonth = "Jan";
            break;
        case 1:
            rslilMonth = "Feb";
            break;
        case 2:
            rslilMonth = "Mar";
            break;
        case 3:
            rslilMonth = "Apr";
            break;
        case 4:
            rslilMonth = "May";
            break;
        case 5:
            rslilMonth = "Jun";
            break;
        case 6:
            rslilMonth = "Jul";
            break;
        case 7:
            rslilMonth = "Aug";
            break;
        case 8:
            rslilMonth = "Sep";
            break;
        case 9:
            rslilMonth = "Oct";
            break;
        case 10:
            rslilMonth = "Nov";
            break;
        case 11:
            rslilMonth = "Dec";
            break;
        default:
            break;
        }

        return rslilMonth;
    }
}

Related

  1. getNextMonth(String curYearMonth)
  2. getNextMonth(String month)
  3. getNextMonthSpe(String curYearMonth)
  4. getPreMonth(String thisMonth)
  5. getQuarterLastMonth(String quarter)
  6. getSecondByMonth(int month)
  7. getStatis_month()
  8. getTargetMonth(Integer targetYm)
  9. getTotalMonths(long time)