Changeset 6806 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2014-02-03T19:26:05+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Utils.java
r6798 r6806 65 65 public static final Charset UTF_8 = Charset.forName("UTF-8"); 66 66 67 private static final int MILLIS_OF_SECOND = 1000; 68 private static final int MILLIS_OF_MINUTE = 60000; 69 private static final int MILLIS_OF_HOUR = 3600000; 70 private static final int MILLIS_OF_DAY = 86400000; 71 67 72 /** 68 73 * Tests whether {@code predicate} applies to at least one elements from {@code collection}. … … 830 835 */ 831 836 public static String getDurationString(long elapsedTime) throws IllegalArgumentException { 832 final int MILLIS_OF_SECOND = 1000;833 final int MILLIS_OF_MINUTE = 60000;834 final int MILLIS_OF_HOUR = 3600000;835 final int MILLIS_OF_DAY = 86400000;836 837 if (elapsedTime < 0) { 837 838 throw new IllegalArgumentException("elapsedTime must be > 0");
Note:
See TracChangeset
for help on using the changeset viewer.