Here you can find the source of ZeroPadded(Integer i)
static public String ZeroPadded(Integer i)
//package com.java2s; // Licensed under the Apache License, Version 2.0 (the "License"); you may public class Main { static public String ZeroPadded(Integer i) { String result = "" + i; if (i < 10) result = "0" + result; return result; }//from w w w.j a v a 2s .c o m }