System::​TimeSpan
UnityObjectLink
System::​TimeSpan

/

Parent

UnityObjectLink

Variables
days
readonly System.Int32 days
hours
readonly System.Int32 hours
milliseconds
readonly System.Int32 milliseconds
minutes
readonly System.Int32 minutes
seconds
readonly System.Int32 seconds
system::​timespan::​maxvalue
static readonly System.TimeSpan system::timespan::maxvalue
system::​timespan::​minvalue
static readonly System.TimeSpan system::timespan::minvalue
system::​timespan::​ticksperday
static readonly System.Int64 system::timespan::ticksperday
system::​timespan::​ticksperhour
static readonly System.Int64 system::timespan::ticksperhour
system::​timespan::​tickspermillisecond
static readonly System.Int64 system::timespan::tickspermillisecond
system::​timespan::​ticksperminute
static readonly System.Int64 system::timespan::ticksperminute
system::​timespan::​tickspersecond
static readonly System.Int64 system::timespan::tickspersecond
system::​timespan::​zero
static readonly System.TimeSpan system::timespan::zero
ticks
readonly System.Int64 ticks
totaldays
readonly System.Double totaldays
totalhours
readonly System.Double totalhours
totalmilliseconds
readonly System.Double totalmilliseconds
totalminutes
readonly System.Double totalminutes
totalseconds
readonly System.Double totalseconds
Functions
add

System.TimeSpan ts-no documentation

Parameters

ts -

Returns

System.TimeSpan

add

System.TimeSpan t1-no documentation

Parameters
t1

no documentation t2 -

Returns

System.TimeSpan

compareto
System.Int32 CompareTo(
System.Object value
)

System.Object value-no documentation

Parameters

value -

Returns

System.Int32

compareto
System.Int32 CompareTo(
System.TimeSpan value
)

System.TimeSpan value-no documentation

Parameters

value -

Returns

System.Int32

div
System.Double op_Division(
System.TimeSpan t1,
System.TimeSpan t2
)

System.TimeSpan t1-no documentation

Parameters
t1

no documentation t2 -

Returns

System.Double

div
System.TimeSpan op_Division(
System.TimeSpan timeSpan,
System.Double divisor
)

System.TimeSpan timeSpan-no documentation

Parameters
timeSpan

no documentation divisor -

Returns

System.TimeSpan

divide
System.Double Divide(
System.TimeSpan ts
)

System.TimeSpan ts-no documentation

Parameters

ts -

Returns

System.Double

divide
System.TimeSpan Divide(
System.Double divisor
)

System.Double divisor-no documentation

Parameters

divisor -

Returns

System.TimeSpan

duration
System.TimeSpan Duration()
Returns

System.TimeSpan

mult
System.TimeSpan op_Multiply(
System.TimeSpan timeSpan,
System.Double factor
)

System.TimeSpan timeSpan-no documentation

Parameters
timeSpan

no documentation factor -

Returns

System.TimeSpan

multiply
System.TimeSpan Multiply(
System.Double factor
)

System.Double factor-no documentation

Parameters

factor -

Returns

System.TimeSpan

negate
Returns

System.TimeSpan

subtract

System.TimeSpan ts-no documentation

Parameters

ts -

Returns

System.TimeSpan

subtract

System.TimeSpan t1-no documentation

Parameters
t1

no documentation t2 -

Returns

System.TimeSpan

system::​timespan::​compare
static System.Int32 Compare(
System.TimeSpan t1,
System.TimeSpan t2
)

System.TimeSpan t1-no documentation

Parameters
t1

no documentation t2 -

Returns

System.Int32

system::​timespan::​create
static System.TimeSpan Create (
System.Int32 days,
System.Int32 hours,
System.Int32 minutes,
System.Int32 seconds,
System.Int32 milliseconds
)

Constructor replaces new;

Parameters
days
System.Int32

no description

hours
System.Int32

no description

minutes
System.Int32

no description

seconds
System.Int32

no description

milliseconds
System.Int32

no description

Returns

System.TimeSpan

system::​timespan::​create
static System.TimeSpan Create (
System.Int32 days,
System.Int32 hours,
System.Int32 minutes,
System.Int32 seconds
)

Constructor replaces new;

Parameters
days
System.Int32

no description

hours
System.Int32

no description

minutes
System.Int32

no description

seconds
System.Int32

no description

Returns

System.TimeSpan

system::​timespan::​create
static System.TimeSpan Create (
System.Int32 hours,
System.Int32 minutes,
System.Int32 seconds
)

Constructor replaces new;

Parameters
hours
System.Int32

no description

minutes
System.Int32

no description

seconds
System.Int32

no description

Returns

System.TimeSpan

system::​timespan::​create
static System.TimeSpan Create (
System.Int64 ticks
)

Constructor replaces new;

Parameters
ticks
System.Int64

no description

Returns

System.TimeSpan

system::​timespan::​create
static System.TimeSpan Create ()

Constructor replaces new

Returns

System.TimeSpan

system::​timespan::​fromdays
static System.TimeSpan FromDays(
System.Double value
)

System.Double value-no documentation

Parameters

value -

Returns

System.TimeSpan

system::​timespan::​fromhours
static System.TimeSpan FromHours(
System.Double value
)

System.Double value-no documentation

Parameters

value -

Returns

System.TimeSpan

system::​timespan::​frommilliseconds
static System.TimeSpan FromMilliseconds(
System.Double value
)

System.Double value-no documentation

Parameters

value -

Returns

System.TimeSpan

system::​timespan::​fromminutes
static System.TimeSpan FromMinutes(
System.Double value
)

System.Double value-no documentation

Parameters

value -

Returns

System.TimeSpan

system::​timespan::​fromseconds
static System.TimeSpan FromSeconds(
System.Double value
)

System.Double value-no documentation

Parameters

value -

Returns

System.TimeSpan

system::​timespan::​fromticks
static System.TimeSpan FromTicks(
System.Int64 value
)

System.Int64 value-no documentation

Parameters

value -

Returns

System.TimeSpan

system::​timespan::​parse
static System.TimeSpan Parse(
System.String s
)

System.String s-no documentation

Parameters

s -

Returns

System.TimeSpan

system::​timespan::​tryparse
static System.Boolean TryParse(
System.String s,
System.TimeSpanresult
)

System.String s-no documentation

Parameters
s
System.String

no documentation result -

Returns

System.Boolean

tostring
System.String ToString()
Returns

System.String

tostring
System.String ToString(
System.String format
)

System.String format-no documentation

Parameters

format -

Returns

System.String