Java Month isSameMonth(String preMonth, String month)

Here you can find the source of isSameMonth(String preMonth, String month)

Description

is Same Month

License

Apache License

Declaration

public static boolean isSameMonth(String preMonth, String month) 

Method Source Code

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

public class Main {
    public static boolean isSameMonth(String preMonth, String month) {
        return preMonth.substring(4, 6).equals(month.substring(4, 6));
    }/*from  w  w  w .j av  a 2  s  . c o m*/
}

Related

  1. impleMonth(int month)
  2. intToMonth(int m)
  3. isMonthInRange(int month)
  4. isNumMonth(int m)
  5. isQuarterMonth(String[] types)
  6. issueMonth(int issue1, int issue2)
  7. issueMonthNum(int issue1, int issue2)
  8. isValidMonth(int month)
  9. isValidObjectModelMonth(int aMonth)