SITimeSpan ​
Kind: Struct
Namespace: CrowdControl.Common
Inheritance: IComparable\<SITimeSpan\> → IComparable\<TimeSpan\> → IComparable<double> → IEquatable\<SITimeSpan\> → IEquatable\<TimeSpan\> → IEquatable<double> → IFormattable
Public Member Functions
virtual override
string
ToString()
string
ToString(string format)
string
ToString(string format, IFormatProvider formatProvider)
int
CompareTo(SITimeSpan other)
int
CompareTo(TimeSpan other)
int
CompareTo(double other)
virtual override
bool
Equals(object obj)
virtual override
int
GetHashCode()
bool
Equals(SITimeSpan other)
bool
Equals(SITimeSpan? other)
bool
Equals(TimeSpan other)
bool
Equals(TimeSpan? other)
SITimeSpan
Duration()
SITimeSpan
Add(SITimeSpan other)
SITimeSpan
Subtract(SITimeSpan other)
SITimeSpan
Negate()
SITimeSpan
Clamp(SITimeSpan minimum, SITimeSpan maximum)
SITimeSpan?
NullIfZero()
bool
Equals(double other)
bool
Equals(double? other)
Public Static Functions
SITimeSpan
Parse(string input)
bool
TryParse(string s, SITimeSpan out result)
int
Compare(SITimeSpan t1, SITimeSpan t2)
int
Compare(TimeSpan t1, SITimeSpan t2)
int
Compare(SITimeSpan t1, TimeSpan t2)
int
Compare(double t1, SITimeSpan t2)
int
Compare(SITimeSpan t1, double t2)
bool
Equals(SITimeSpan? t1, SITimeSpan? t2)
bool
Equals(SITimeSpan t1, SITimeSpan t2)
bool
Equals(TimeSpan t1, SITimeSpan t2)
bool
Equals(SITimeSpan t1, TimeSpan t2)
bool
Equals(double t1, SITimeSpan t2)
bool
Equals(SITimeSpan t1, double t2)
bool
Equals(float t1, SITimeSpan t2)
bool
Equals(SITimeSpan t1, float t2)
SITimeSpan
FromTicks(long value)
SITimeSpan
FromMilliseconds(double value)
SITimeSpan
FromSeconds(double value)
SITimeSpan
FromMinutes(double value)
SITimeSpan
FromHours(double value)
SITimeSpan
FromDays(double value)
Public Attributes
SITimeSpan
Zero
SITimeSpan
MinValue
SITimeSpan
MaxValue
Properties
long
Ticks
[get, ]
int
Milliseconds
[get, ]
int
Seconds
[get, ]
int
Minutes
[get, ]
int
Hours
[get, ]
int
Days
[get, ]
double
TotalMilliseconds
[get, ]
double
TotalSeconds
[get, ]
double
TotalMinutes
[get, ]
double
TotalHours
[get, ]
double
TotalDays
[get, ]
