Here you can find the source of getYearMonthArray(Integer yearMonth)
public static String[] getYearMonthArray(Integer yearMonth)
//package com.java2s; //License from project: Open Source License public class Main { public static String[] getYearMonthArray(Integer yearMonth) { String[] rv = new String[2]; rv[0] = String.valueOf(yearMonth / 12); rv[1] = String.format("%02d", yearMonth % 12 + 1); return rv; }//from www . j av a2s.com }