OpenSearch/docs/reference/painless-api-reference/Duration.asciidoc

52 lines
12 KiB
Plaintext
Raw Normal View History

////
Automatically generated by PainlessDocGenerator. Do not edit.
Rebuild by running `gradle generatePainlessApi`.
////
[[painless-api-reference-Duration]]++Duration++::
** [[painless-api-reference-Duration-ZERO]]static <<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#ZERO[ZERO] (link:{java9-javadoc}/java/time/Duration.html#ZERO[java 9])
* ++[[painless-api-reference-Duration-between-2]]static <<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#between%2Djava.time.temporal.Temporal%2Djava.time.temporal.Temporal%2D[between](<<painless-api-reference-Temporal,Temporal>>, <<painless-api-reference-Temporal,Temporal>>)++ (link:{java9-javadoc}/java/time/Duration.html#between%2Djava.time.temporal.Temporal%2Djava.time.temporal.Temporal%2D[java 9])
* ++[[painless-api-reference-Duration-from-1]]static <<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#from%2Djava.time.temporal.TemporalAmount%2D[from](<<painless-api-reference-TemporalAmount,TemporalAmount>>)++ (link:{java9-javadoc}/java/time/Duration.html#from%2Djava.time.temporal.TemporalAmount%2D[java 9])
* ++[[painless-api-reference-Duration-of-2]]static <<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#of%2Dlong%2Djava.time.temporal.TemporalUnit%2D[of](long, <<painless-api-reference-TemporalUnit,TemporalUnit>>)++ (link:{java9-javadoc}/java/time/Duration.html#of%2Dlong%2Djava.time.temporal.TemporalUnit%2D[java 9])
* ++[[painless-api-reference-Duration-ofDays-1]]static <<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#ofDays%2Dlong%2D[ofDays](long)++ (link:{java9-javadoc}/java/time/Duration.html#ofDays%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-ofHours-1]]static <<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#ofHours%2Dlong%2D[ofHours](long)++ (link:{java9-javadoc}/java/time/Duration.html#ofHours%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-ofMillis-1]]static <<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#ofMillis%2Dlong%2D[ofMillis](long)++ (link:{java9-javadoc}/java/time/Duration.html#ofMillis%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-ofMinutes-1]]static <<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#ofMinutes%2Dlong%2D[ofMinutes](long)++ (link:{java9-javadoc}/java/time/Duration.html#ofMinutes%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-ofNanos-1]]static <<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#ofNanos%2Dlong%2D[ofNanos](long)++ (link:{java9-javadoc}/java/time/Duration.html#ofNanos%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-ofSeconds-1]]static <<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#ofSeconds%2Dlong%2D[ofSeconds](long)++ (link:{java9-javadoc}/java/time/Duration.html#ofSeconds%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-ofSeconds-2]]static <<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#ofSeconds%2Dlong%2Dlong%2D[ofSeconds](long, long)++ (link:{java9-javadoc}/java/time/Duration.html#ofSeconds%2Dlong%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-parse-1]]static <<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#parse%2Djava.lang.CharSequence%2D[parse](<<painless-api-reference-CharSequence,CharSequence>>)++ (link:{java9-javadoc}/java/time/Duration.html#parse%2Djava.lang.CharSequence%2D[java 9])
* ++[[painless-api-reference-Duration-abs-0]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#abs%2D%2D[abs]()++ (link:{java9-javadoc}/java/time/Duration.html#abs%2D%2D[java 9])
* ++[[painless-api-reference-Duration-compareTo-1]]int link:{java8-javadoc}/java/time/Duration.html#compareTo%2Djava.time.Duration%2D[compareTo](<<painless-api-reference-Duration,Duration>>)++ (link:{java9-javadoc}/java/time/Duration.html#compareTo%2Djava.time.Duration%2D[java 9])
* ++[[painless-api-reference-Duration-dividedBy-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#dividedBy%2Dlong%2D[dividedBy](long)++ (link:{java9-javadoc}/java/time/Duration.html#dividedBy%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-getNano-0]]int link:{java8-javadoc}/java/time/Duration.html#getNano%2D%2D[getNano]()++ (link:{java9-javadoc}/java/time/Duration.html#getNano%2D%2D[java 9])
* ++[[painless-api-reference-Duration-getSeconds-0]]long link:{java8-javadoc}/java/time/Duration.html#getSeconds%2D%2D[getSeconds]()++ (link:{java9-javadoc}/java/time/Duration.html#getSeconds%2D%2D[java 9])
* ++[[painless-api-reference-Duration-isNegative-0]]boolean link:{java8-javadoc}/java/time/Duration.html#isNegative%2D%2D[isNegative]()++ (link:{java9-javadoc}/java/time/Duration.html#isNegative%2D%2D[java 9])
* ++[[painless-api-reference-Duration-isZero-0]]boolean link:{java8-javadoc}/java/time/Duration.html#isZero%2D%2D[isZero]()++ (link:{java9-javadoc}/java/time/Duration.html#isZero%2D%2D[java 9])
* ++[[painless-api-reference-Duration-minus-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#minus%2Djava.time.Duration%2D[minus](<<painless-api-reference-Duration,Duration>>)++ (link:{java9-javadoc}/java/time/Duration.html#minus%2Djava.time.Duration%2D[java 9])
* ++[[painless-api-reference-Duration-minus-2]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#minus%2Dlong%2Djava.time.temporal.TemporalUnit%2D[minus](long, <<painless-api-reference-TemporalUnit,TemporalUnit>>)++ (link:{java9-javadoc}/java/time/Duration.html#minus%2Dlong%2Djava.time.temporal.TemporalUnit%2D[java 9])
* ++[[painless-api-reference-Duration-minusDays-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#minusDays%2Dlong%2D[minusDays](long)++ (link:{java9-javadoc}/java/time/Duration.html#minusDays%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-minusHours-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#minusHours%2Dlong%2D[minusHours](long)++ (link:{java9-javadoc}/java/time/Duration.html#minusHours%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-minusMillis-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#minusMillis%2Dlong%2D[minusMillis](long)++ (link:{java9-javadoc}/java/time/Duration.html#minusMillis%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-minusMinutes-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#minusMinutes%2Dlong%2D[minusMinutes](long)++ (link:{java9-javadoc}/java/time/Duration.html#minusMinutes%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-minusNanos-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#minusNanos%2Dlong%2D[minusNanos](long)++ (link:{java9-javadoc}/java/time/Duration.html#minusNanos%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-minusSeconds-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#minusSeconds%2Dlong%2D[minusSeconds](long)++ (link:{java9-javadoc}/java/time/Duration.html#minusSeconds%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-multipliedBy-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#multipliedBy%2Dlong%2D[multipliedBy](long)++ (link:{java9-javadoc}/java/time/Duration.html#multipliedBy%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-negated-0]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#negated%2D%2D[negated]()++ (link:{java9-javadoc}/java/time/Duration.html#negated%2D%2D[java 9])
* ++[[painless-api-reference-Duration-plus-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#plus%2Djava.time.Duration%2D[plus](<<painless-api-reference-Duration,Duration>>)++ (link:{java9-javadoc}/java/time/Duration.html#plus%2Djava.time.Duration%2D[java 9])
* ++[[painless-api-reference-Duration-plus-2]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#plus%2Dlong%2Djava.time.temporal.TemporalUnit%2D[plus](long, <<painless-api-reference-TemporalUnit,TemporalUnit>>)++ (link:{java9-javadoc}/java/time/Duration.html#plus%2Dlong%2Djava.time.temporal.TemporalUnit%2D[java 9])
* ++[[painless-api-reference-Duration-plusDays-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#plusDays%2Dlong%2D[plusDays](long)++ (link:{java9-javadoc}/java/time/Duration.html#plusDays%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-plusHours-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#plusHours%2Dlong%2D[plusHours](long)++ (link:{java9-javadoc}/java/time/Duration.html#plusHours%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-plusMillis-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#plusMillis%2Dlong%2D[plusMillis](long)++ (link:{java9-javadoc}/java/time/Duration.html#plusMillis%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-plusMinutes-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#plusMinutes%2Dlong%2D[plusMinutes](long)++ (link:{java9-javadoc}/java/time/Duration.html#plusMinutes%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-plusNanos-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#plusNanos%2Dlong%2D[plusNanos](long)++ (link:{java9-javadoc}/java/time/Duration.html#plusNanos%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-plusSeconds-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#plusSeconds%2Dlong%2D[plusSeconds](long)++ (link:{java9-javadoc}/java/time/Duration.html#plusSeconds%2Dlong%2D[java 9])
* ++[[painless-api-reference-Duration-toDays-0]]long link:{java8-javadoc}/java/time/Duration.html#toDays%2D%2D[toDays]()++ (link:{java9-javadoc}/java/time/Duration.html#toDays%2D%2D[java 9])
* ++[[painless-api-reference-Duration-toHours-0]]long link:{java8-javadoc}/java/time/Duration.html#toHours%2D%2D[toHours]()++ (link:{java9-javadoc}/java/time/Duration.html#toHours%2D%2D[java 9])
* ++[[painless-api-reference-Duration-toMillis-0]]long link:{java8-javadoc}/java/time/Duration.html#toMillis%2D%2D[toMillis]()++ (link:{java9-javadoc}/java/time/Duration.html#toMillis%2D%2D[java 9])
* ++[[painless-api-reference-Duration-toMinutes-0]]long link:{java8-javadoc}/java/time/Duration.html#toMinutes%2D%2D[toMinutes]()++ (link:{java9-javadoc}/java/time/Duration.html#toMinutes%2D%2D[java 9])
* ++[[painless-api-reference-Duration-toNanos-0]]long link:{java8-javadoc}/java/time/Duration.html#toNanos%2D%2D[toNanos]()++ (link:{java9-javadoc}/java/time/Duration.html#toNanos%2D%2D[java 9])
* ++[[painless-api-reference-Duration-withNanos-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#withNanos%2Dint%2D[withNanos](int)++ (link:{java9-javadoc}/java/time/Duration.html#withNanos%2Dint%2D[java 9])
* ++[[painless-api-reference-Duration-withSeconds-1]]<<painless-api-reference-Duration,Duration>> link:{java8-javadoc}/java/time/Duration.html#withSeconds%2Dlong%2D[withSeconds](long)++ (link:{java9-javadoc}/java/time/Duration.html#withSeconds%2Dlong%2D[java 9])
* Inherits methods from ++<<painless-api-reference-Object,Object>>++, ++<<painless-api-reference-TemporalAmount,TemporalAmount>>++