META-INF.modules.java.base.classes.java.time.Duration.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java.base Show documentation
Show all versions of java.base Show documentation
Bytecoder java.base Module
???? 6?? Q?
??
>? ;??
??
??
?? ? B@ >?
>? ?
?? ???? ?? ??? ?? ? ??
??
??
??
??
>? ?
>? ? ? ? ??
>?
>????
'?
'??
[???
.??
.?
.?
???
>?
>? P??
>?? P? ????
>?
?? >? >???
.?
C? ??
??
>?
>?
>? ? P? ??? ??
P?
>?
>?
>? ?
??
>? B@?? ???????
>?
>?
>?
>?
??
??
>??
&? ??
??F
??
??
??
??
??
?? >?
P?
P??
P?
P?????????
>??? Q? <
>?
>
> N??O
[
.
.
.
.
. w5?
.?
.
.
?
??
>
P InnerClasses
DurationUnits! Lazy ZERO Ljava/time/Duration; serialVersionUID J
ConstantValue*?????2 BI_NANOS_PER_SECOND Ljava/math/BigInteger; seconds nanos I ofDays (J)Ljava/time/Duration; Code LineNumberTable LocalVariableTable days ofHours hours ofMinutes minutes ofSeconds (JJ)Ljava/time/Duration; nanoAdjustment secs nos ofMillis millis mos
StackMapTable ofNanos of 8(JLjava/time/temporal/TemporalUnit;)Ljava/time/Duration; amount unit !Ljava/time/temporal/TemporalUnit; from 9(Ljava/time/temporal/TemporalAmount;)Ljava/time/Duration; #Ljava/time/temporal/TemporalAmount; duration" parse .(Ljava/lang/CharSequence;)Ljava/time/Duration; ex Ljava/lang/ArithmeticException;
daysAsSecs hoursAsSecs
minsAsSecs negativeSecs Z negate dayStart dayEnd hourStart hourEnd minuteStart minuteEnd secondStart secondEnd
fractionStart fractionEnd text Ljava/lang/CharSequence; matcher Ljava/util/regex/Matcher;#$ charMatch (Ljava/lang/CharSequence;IIC)Z start end c C parseNumber 0(Ljava/lang/CharSequence;IIILjava/lang/String;)J val Ljava/lang/RuntimeException;
multiplier errorText Ljava/lang/String;%
parseFraction (Ljava/lang/CharSequence;III)I i fraction create (ZJJJJI)Ljava/time/Duration; between P(Ljava/time/temporal/Temporal;Ljava/time/temporal/Temporal;)Ljava/time/Duration; ex2 Ljava/time/DateTimeException; startInclusive Ljava/time/temporal/Temporal; endExclusive& (JI)Ljava/time/Duration; (JI)V this get $(Ljava/time/temporal/TemporalUnit;)J getUnits ()Ljava/util/List; Signature 5()Ljava/util/List; isZero ()Z
isNegative
getSeconds ()J getNano ()I withSeconds withNanos (I)Ljava/time/Duration; nanoOfSecond plus *(Ljava/time/Duration;)Ljava/time/Duration; amountToAdd plusDays daysToAdd plusHours
hoursToAdd plusMinutes minutesToAdd plusSeconds secondsToAdd
plusMillis millisToAdd plusNanos
nanosToAdd epochSec minus secsToSubtract nanosToSubtract amountToSubtract minusDays daysToSubtract
minusHours hoursToSubtract minusMinutes minutesToSubtract minusSeconds secondsToSubtract minusMillis millisToSubtract
minusNanos multipliedBy multiplicand dividedBy divisor (Ljava/time/Duration;)J dividendBigD Ljava/math/BigDecimal; divisorBigD toBigDecimalSeconds ()Ljava/math/BigDecimal; ,(Ljava/math/BigDecimal;)Ljava/time/Duration; divRem [Ljava/math/BigInteger;'O negated ()Ljava/time/Duration; abs addTo <(Ljava/time/temporal/Temporal;)Ljava/time/temporal/Temporal; temporal subtractFrom toDays toHours toMinutes toSeconds toMillis tempSeconds tempNanos toNanos
totalNanos
toDaysPart toHoursPart
toMinutesPart
toSecondsPart toMillisPart toNanosPart truncatedTo 7(Ljava/time/temporal/TemporalUnit;)Ljava/time/Duration; unitDur dur nod result compareTo (Ljava/time/Duration;)I
otherDuration cmp equals (Ljava/lang/Object;)Z other Ljava/lang/Object; hashCode toString ()Ljava/lang/String; pos effectiveTotalSecs buf Ljava/lang/StringBuilder; writeReplace ()Ljava/lang/Object;
readObject (Ljava/io/ObjectInputStream;)V s Ljava/io/ObjectInputStream;
Exceptions
writeExternal (Ljava/io/DataOutput;)V out Ljava/io/DataOutput;( readExternal )(Ljava/io/DataInput;)Ljava/time/Duration; in Ljava/io/DataInput; (Ljava/lang/Object;)I ()V wLjava/lang/Object;Ljava/time/temporal/TemporalAmount;Ljava/lang/Comparable;Ljava/io/Serializable;
SourceFile
Duration.java java/time/LocalTime)*+,-.-/- ? ?$ ?01234567~ java/time/temporal/TemporalUnit89: ?;< ?= ?= ? ? ? ?>? java/lang/ArithmeticException 'java/time/format/DateTimeParseException -Text cannot be parsed to a Duration: overflow@AB #Text cannot be parsed to a DurationCD java/lang/NumberFormatException java/lang/StringBuilder? %Text cannot be parsed to a Duration: EFwxGH -Text cannot be parsed to a Duration: fraction ? ?RSIJKL ? ? java/time/DateTimeExceptionMJNOPQR java/time/Duration ? ? ? ? 3java/time/temporal/UnsupportedTemporalTypeException Unsupported unit: ESTUVWX$ ?YJZ (Unit must not have an estimated duration java/time/temporal/ChronoUnit[\]1 ?- ?/ ?^S*-C ? java/lang/Long' ?) ?+ ?KL_`abcM Cannot divide by zerodefghicj`klcmnop ? ?qrs Exceeds capacity of Duration: tu$v4vZ[ +Unit is too large to be used for truncation` 6Unit must divide into a standard day without remainderwx PT0Sy PTEzE{E|} -0~y?
java/time/Ser? java/io/InvalidObjectException *Deserialization via serialization delegate????y???no`? java/lang/Object !java/time/temporal/TemporalAmount java/lang/Comparable java/io/Serializable java/time/Duration$1 java/time/Duration$DurationUnits java/time/Duration$Lazy java/util/Iterator java/lang/CharSequence java/util/regex/Matcher java/lang/RuntimeException java/time/temporal/Temporal java/math/BigInteger java/io/IOException java/lang/Math
multiplyExact (JI)J floorDiv (JJ)J addExact floorMod java/util/Objects requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; java/util/List iterator ()Ljava/util/Iterator; hasNext next PATTERN Ljava/util/regex/Pattern; java/util/regex/Pattern 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; matches (I)I charAt (I)C .(Ljava/lang/String;Ljava/lang/CharSequence;I)V initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; parseLong (Ljava/lang/CharSequence;III)J append -(Ljava/lang/String;)Ljava/lang/StringBuilder; java/lang/Integer parseInt NANOS Ljava/time/temporal/ChronoUnit; until A(Ljava/time/temporal/Temporal;Ljava/time/temporal/TemporalUnit;)J SECONDS java/time/temporal/ChronoField NANO_OF_SECOND Ljava/time/temporal/ChronoField; getLong %(Ljava/time/temporal/TemporalField;)J -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (Ljava/lang/String;)V UNITS Ljava/util/List; checkValidIntValue (J)I DAYS isDurationEstimated ($SwitchMap$java$time$temporal$ChronoUnit [I ordinal getDuration java/math/BigDecimal valueOf (J)Ljava/math/BigDecimal; multiply .(Ljava/math/BigDecimal;)Ljava/math/BigDecimal; java/math/RoundingMode DOWN Ljava/math/RoundingMode; divide F(Ljava/math/BigDecimal;Ljava/math/RoundingMode;)Ljava/math/BigDecimal; divideToIntegralValue longValueExact (JI)Ljava/math/BigDecimal; add movePointRight (I)Ljava/math/BigDecimal; toBigIntegerExact ()Ljava/math/BigInteger; divideAndRemainder /(Ljava/math/BigInteger;)[Ljava/math/BigInteger; bitLength longValue intValue A(JLjava/time/temporal/TemporalUnit;)Ljava/time/temporal/Temporal; compare (JJ)I (I)V (J)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; length setLength setCharAt (IC)V (BLjava/lang/Object;)V java/io/DataOutput writeLong (J)V writeInt java/io/DataInput readLong readInt (J)Ljava/math/BigInteger; 1 > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? J ? ? ? 5 ? ? ? ? ? ? ? ? ? ? ? 6 ? ? ? ? ? ? ? ? ? ? ? 5 ?? " ? ? ?
+*? W? *? L+? ?*+? +? T? ? ?*+? +? -? =+? >+? 6+? 6+? 6+? 6+? 6+? 6 +? 6
+? 6+? 6? ?
? ? ?*? 7
* ? 7*<!? 7*
"? 7 ? * ? # -? ? 6*? ? ? $6
? %?:? 'Y(*? )? *? '?? 'Y+*? )? ? &