Searched defs:Duration (Results 1 - 2 of 2) sorted by relevance
/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | Duration.java | 18 //$Id: Duration.java 759828 2009-03-30 01:26:29Z mrglavas $ 33 * <p>A Duration object represents a period of Gregorian time, 47 * <p>Duration objects only have partial order, where two values A and B 57 * The {@link #compare(Duration duration)} method implements this 60 * <p>See the {@link #isLongerThan(Duration)} method for details about 61 * the order relationship among <code>Duration</code> objects.</p> 63 * <h2>Operations over Duration</h2> 72 * the <code>Duration</code> class can only deal with finite precision 80 * Because some operations of <code>Duration</code> rely on {@link Calendar} 81 * even though {@link Duration} ca 93 public abstract class Duration { class [all...] |
/libcore/ojluni/src/main/java/java/time/ |
H A D | Duration.java | 127 public final class Duration class in inherits:TemporalAmount,Comparable,Serializable 128 implements TemporalAmount, Comparable<Duration>, Serializable { 133 public static final Duration ZERO = new Duration(0, 0); 162 * Obtains a {@code Duration} representing a number of standard 24 hour days. 169 * @return a {@code Duration}, not null 170 * @throws ArithmeticException if the input days exceeds the capacity of {@code Duration} 172 public static Duration ofDays(long days) { 177 * Obtains a {@code Duration} representing a number of standard hours. 184 * @return a {@code Duration}, no 505 private Duration(long seconds, int nanos) { method in class:Duration [all...] |
Completed in 86 milliseconds