com.atlassian.bamboo.utils
Class DurationUtils
java.lang.Object
com.atlassian.bamboo.utils.DurationUtils
public class DurationUtils
- extends Object
This class provide some Time formatting methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DurationUtils
public DurationUtils()
getPrettyPrint
public static String getPrettyPrint(long elapsedTimeMillis,
boolean isLong)
- Formats time to the nearest hour, minute or second.
Note - Currently ignore hours (display them in minutes) see BJ-119
- Parameters:
elapsedTimeMillis
- The time
- Returns:
- Nearest time to the nearest hour, minute or second.
getPrettyPrint
public static String getPrettyPrint(long elapsedTimeMillis)
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.