org.opennms.core.utils
Class FuzzyDateFormatter
java.lang.Object
org.opennms.core.utils.FuzzyDateFormatter
public class FuzzyDateFormatter
- extends Object
- Author:
- Benjamin Reed
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MILLISECONDS_PER_SECOND
public static final double MILLISECONDS_PER_SECOND
- See Also:
- Constant Field Values
MILLISECONDS_PER_DAY
public static final double MILLISECONDS_PER_DAY
- See Also:
- Constant Field Values
MILLISECONDS_PER_HOUR
public static final double MILLISECONDS_PER_HOUR
- See Also:
- Constant Field Values
MILLISECONDS_PER_MINUTE
public static final double MILLISECONDS_PER_MINUTE
- See Also:
- Constant Field Values
FuzzyDateFormatter
public FuzzyDateFormatter()
formatNumber
protected static String formatNumber(Double number,
String singular,
String plural)
calculateDifference
public static String calculateDifference(Date start,
Date end)
Copyright © 2009. All Rights Reserved.