Java Month fixMonth(int month)

Here you can find the source of fixMonth(int month)

Description

fix Month

License

Apache License

Declaration

public static String fixMonth(int month) 

Method Source Code

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

public class Main {
    public static String fixMonth(int month) {
        return (month < 10 ? "0" : "") + month;
    }/*w w w.j a v a  2 s  .c  o m*/
}

Related

  1. daemonThread(Runnable runnable)
  2. displayMonthlyPeriod(String week)
  3. doy2month(int year, int doy)
  4. extractMonthFromDate(String dateString)
  5. findMonth(String strMonth)
  6. fixMonth(String m)
  7. getAllowMonth(String startdate, int count)
  8. getAssignMonth(String date)
  9. getCurrDateByMonth(String date)