TimeSpan
package cs.system
extends ValueType
implements IComparable, IComparable_1<TimeSpan>, IEquatable_1<TimeSpan>
Available on cs
Static variables
staticread onlyMaxValue:TimeSpan
staticread onlyMinValue:TimeSpan
staticread onlyTicksPerDay:Int64
staticread onlyTicksPerHour:Int64
staticread onlyTicksPerMillisecond:Int64
staticread onlyTicksPerMinute:Int64
staticread onlyTicksPerSecond:Int64
staticread onlyZero:TimeSpan
Static methods
staticCompare(t1:TimeSpan, t2:TimeSpan):Int
staticFromDays(value:Float):TimeSpan
staticFromHours(value:Float):TimeSpan
staticFromMilliseconds(value:Float):TimeSpan
staticFromMinutes(value:Float):TimeSpan
staticFromSeconds(value:Float):TimeSpan
staticFromTicks(value:Int64):TimeSpan
staticParse(s:String):TimeSpan
staticTryParse(s:String, result:Out<TimeSpan>):Bool
static_Equals(t1:TimeSpan, t2:TimeSpan):Bool
staticop_Addition(t1:TimeSpan, t2:TimeSpan):TimeSpan
staticop_Equality(t1:TimeSpan, t2:TimeSpan):Bool
staticop_GreaterThan(t1:TimeSpan, t2:TimeSpan):Bool
staticop_GreaterThanOrEqual(t1:TimeSpan, t2:TimeSpan):Bool
staticop_Inequality(t1:TimeSpan, t2:TimeSpan):Bool
staticop_LessThan(t1:TimeSpan, t2:TimeSpan):Bool
staticop_LessThanOrEqual(t1:TimeSpan, t2:TimeSpan):Bool
staticop_Subtraction(t1:TimeSpan, t2:TimeSpan):TimeSpan
staticop_UnaryNegation(t:TimeSpan):TimeSpan
staticop_UnaryPlus(t:TimeSpan):TimeSpan
Constructor
finalnew(ticks:Int64)
finalnew(days:Int, hours:Int, minutes:Int, seconds:Int, milliseconds:Int)
finalnew(days:Int, hours:Int, minutes:Int, seconds:Int)
finalnew(hours:Int, minutes:Int, seconds:Int)
Variables
read onlyDays:Int
read onlyHours:Int
read onlyMilliseconds:Int
read onlyMinutes:Int
read onlySeconds:Int
read onlyTicks:Int64
read onlyTotalDays:Float
read onlyTotalHours:Float
read onlyTotalMilliseconds:Float
read onlyTotalMinutes:Float
read onlyTotalSeconds:Float
Methods
finalAdd(ts:TimeSpan):TimeSpan
finalCompareTo(value:Dynamic):Int
finalCompareTo(value:TimeSpan):Int
finalDuration():TimeSpan
finalNegate():TimeSpan
finalSubtract(ts:TimeSpan):TimeSpan
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/TimeSpan.html