Java Month getMonthToMonth(int month)

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

Description

get Month To Month

License

Apache License

Declaration

public static String getMonthToMonth(int month) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String getMonthToMonth(int month) {
        String monthToMonth = "";
        String[] months = { "(January-March)", "(April-June)", "(July-September)", "(October-December)" };
        int index = month / 3;
        monthToMonth = months[index];//from www  .  ja v a  2 s .  c o m
        return monthToMonth;
    }
}

Related

  1. getMonthOfNextQuarter(String yearAndMonth)
  2. getMonthRange(String start, String end)
  3. getMonths()
  4. getMonths(String strDateBegin, String strDateEnd)
  5. getMonthTime(String allDate)
  6. getMonthTotal(Double bsAmount, Double susAmount, Double changeRate)
  7. getNextMonth(String curYearMonth)
  8. getNextMonth(String month)
  9. getNextMonthSpe(String curYearMonth)