Here you can find the source of impleMonth(int month)
private static String impleMonth(int month)
//package com.java2s; public class Main { private static String impleMonth(int month) { String monthStr = new Integer(month).toString(); if (monthStr.length() == 1) { monthStr = "0" + monthStr; }/*from w ww .j a va 2 s . c o m*/ return monthStr; } }