Here you can find the source of paraseMonth(String yearMonth)
public static int paraseMonth(String yearMonth)
//package com.java2s; //License from project: Apache License public class Main { public static int paraseMonth(String yearMonth) { String month = yearMonth.substring(4); return Integer.parseInt(month); }/* w w w.ja v a 2s . co m*/ }