W3cubDocs

/Haxe Java

Duration

package java.time

implements Serializable, Comparable<Duration>, TemporalAmount

Available on java

Static variables

staticfinalread onlyZERO:Duration

Static methods

staticbetween(param1:Temporal, param2:Temporal):Duration

staticfrom(param1:TemporalAmount):Duration

staticof(param1:Int64, param2:TemporalUnit):Duration

staticofDays(param1:Int64):Duration

staticofHours(param1:Int64):Duration

staticofMillis(param1:Int64):Duration

staticofMinutes(param1:Int64):Duration

staticofNanos(param1:Int64):Duration

staticofSeconds(param1:Int64, param2:Int64):Duration

staticofSeconds(param1:Int64):Duration

staticparse(param1:CharSequence):Duration

Methods

abs():Duration

addTo(param1:Temporal):Temporal

compareTo(param1:Dynamic):Int

compareTo(param1:Duration):Int

dividedBy(param1:Int64):Duration

equals(param1:Dynamic):Bool

get(param1:TemporalUnit):Int64

getNano():Int

getSeconds():Int64

getUnits():List<TemporalUnit>

hashCode():Int

isNegative():Bool

isZero():Bool

minus(param1:Int64, param2:TemporalUnit):Duration

minus(param1:Duration):Duration

minusDays(param1:Int64):Duration

minusHours(param1:Int64):Duration

minusMillis(param1:Int64):Duration

minusMinutes(param1:Int64):Duration

minusNanos(param1:Int64):Duration

minusSeconds(param1:Int64):Duration

multipliedBy(param1:Int64):Duration

negated():Duration

plus(param1:Int64, param2:TemporalUnit):Duration

plus(param1:Duration):Duration

plusDays(param1:Int64):Duration

plusHours(param1:Int64):Duration

plusMillis(param1:Int64):Duration

plusMinutes(param1:Int64):Duration

plusNanos(param1:Int64):Duration

plusSeconds(param1:Int64):Duration

subtractFrom(param1:Temporal):Temporal

toDays():Int64

toHours():Int64

toMillis():Int64

toMinutes():Int64

toNanos():Int64

toString():String

withNanos(param1:Int):Duration

withSeconds(param1:Int64):Duration

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/time/Duration.html