Java Time Format formatTimeArea(Integer hour)

Here you can find the source of formatTimeArea(Integer hour)

Description

format Time Area

License

Open Source License

Declaration

public static String formatTimeArea(Integer hour) 

Method Source Code

//package com.java2s;
/**//w  ww  .  j a  v a 2  s  .  co m
 * Copyright (c)2010-2011 Enterprise Website Content Management System(EWCMS), All rights reserved.
 * EWCMS PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 * http://www.ewcms.com
 */

public class Main {
    public static String formatTimeArea(Integer hour) {
        return String.format("%02d", hour);
    }
}

Related

  1. formatTime14To12String(String time)
  2. formatTime2(long secs)
  3. formatTime2(long timeInSeconds)
  4. formatTime3(long secs)
  5. formatTimeAgo(int seconds)
  6. formatTimeDeltaValue(long delta)
  7. formatTimeDiff(long finishTime, long startTime)
  8. formatTimeDiff(long finishTime, long startTime)
  9. formatTimeDifference(long ms)