TimeSpan

ValueTypecs.system.TimeSpan (extern final class)

Static Members

Zero: TimeSpan

MinValue: TimeSpan

MaxValue: TimeSpan

TicksPerSecond: haxe.Int64

TicksPerMinute: haxe.Int64

TicksPerMillisecond: haxe.Int64

TicksPerHour: haxe.Int64

TicksPerDay: haxe.Int64

Compare(t1: TimeSpan, t2: TimeSpan): Int
Name Type
t1 TimeSpan
t2 TimeSpan
Returns
Int

FromDays(value: Float): TimeSpan
Name Type
value Float
Returns
TimeSpan

FromHours(value: Float): TimeSpan
Name Type
value Float
Returns
TimeSpan

FromMinutes(value: Float): TimeSpan
Name Type
value Float
Returns
TimeSpan

FromSeconds(value: Float): TimeSpan
Name Type
value Float
Returns
TimeSpan

FromMilliseconds(value: Float): TimeSpan
Name Type
value Float
Returns
TimeSpan

FromTicks(value: haxe.Int64): TimeSpan
Name Type
value haxe.Int64
Returns
TimeSpan

Parse(s: String): TimeSpan
Name Type
s String
Returns
TimeSpan

TryParse(s: String, result: cs.Out): Bool
Name Type
s String
result cs.Out
Returns
Bool

op_Addition(t1: TimeSpan, t2: TimeSpan): TimeSpan
Name Type
t1 TimeSpan
t2 TimeSpan
Returns
TimeSpan

op_Equality(t1: TimeSpan, t2: TimeSpan): Bool
Name Type
t1 TimeSpan
t2 TimeSpan
Returns
Bool

op_GreaterThan(t1: TimeSpan, t2: TimeSpan): Bool
Name Type
t1 TimeSpan
t2 TimeSpan
Returns
Bool

op_GreaterThanOrEqual(t1: TimeSpan, t2: TimeSpan): Bool
Name Type
t1 TimeSpan
t2 TimeSpan
Returns
Bool

op_Inequality(t1: TimeSpan, t2: TimeSpan): Bool
Name Type
t1 TimeSpan
t2 TimeSpan
Returns
Bool

op_LessThan(t1: TimeSpan, t2: TimeSpan): Bool
Name Type
t1 TimeSpan
t2 TimeSpan
Returns
Bool

op_LessThanOrEqual(t1: TimeSpan, t2: TimeSpan): Bool
Name Type
t1 TimeSpan
t2 TimeSpan
Returns
Bool

op_Subtraction(t1: TimeSpan, t2: TimeSpan): TimeSpan
Name Type
t1 TimeSpan
t2 TimeSpan
Returns
TimeSpan

op_UnaryNegation(t: TimeSpan): TimeSpan
Name Type
t TimeSpan
Returns
TimeSpan

op_UnaryPlus(t: TimeSpan): TimeSpan
Name Type
t TimeSpan
Returns
TimeSpan

Instance Members

TotalSeconds: Float

TotalMinutes: Float

TotalMilliseconds: Float

TotalHours: Float

TotalDays: Float


Seconds: Int

Minutes: Int

Milliseconds: Int

Hours: Int

Days: Int

Name Type
ts TimeSpan
Returns
TimeSpan

CompareTo(value: Dynamic): Int
Name Type
value Dynamic
Returns
Int

Duration(): TimeSpan
Returns
TimeSpan

Negate(): TimeSpan
Returns
TimeSpan

Subtract(ts: TimeSpan): TimeSpan
Name Type
ts TimeSpan
Returns
TimeSpan

ToString(): String
Returns
String

new(ticks: haxe.Int64): Void
Name Type
ticks haxe.Int64

Metadata

Name Parameters
:nativeGen -
:struct -
:libType -
:csNative -