terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
System.TimeSpan Struct Reference
+ Inheritance diagram for System.TimeSpan:

Public Member Functions

 TimeSpan (long ticks)
 
 TimeSpan (int hours, int minutes, int seconds)
 
 TimeSpan (int days, int hours, int minutes, int seconds, int milliseconds)
 
TimeSpan Add (TimeSpan ts)
 
int CompareTo (object value)
 
int CompareTo (TimeSpan value)
 
override bool Equals (object value)
 
bool Equals (TimeSpan obj)
 
override int GetHashCode ()
 
TimeSpan Negate ()
 
TimeSpan Subtract (TimeSpan ts)
 
override string ToString ()
 
string ToString (string format)
 
string ToString (string format, IFormatProvider formatProvider)
 
bool TryFormat (Span< char > destination, [Out] int charsWritten, [Optional] ReadOnlySpan< char > format, [Optional] IFormatProvider formatProvider)
 
int CompareTo (T other)
 
int CompareTo (T other)
 
bool Equals (T other)
 

Static Public Member Functions

static int Compare (TimeSpan t1, TimeSpan t2)
 
static TimeSpan FromDays (double value)
 
static TimeSpan FromHours (double value)
 
static TimeSpan FromMilliseconds (double value)
 
static TimeSpan FromMinutes (double value)
 
static TimeSpan FromSeconds (double value)
 
static TimeSpan FromTicks (long value)
 
static TimeSpan Parse (string s)
 
static TimeSpan Parse (string input, IFormatProvider formatProvider)
 
static bool TryParseExact (string input, string format, IFormatProvider formatProvider, [Out] TimeSpan result)
 
static TimeSpan operator- (TimeSpan t)
 
static TimeSpan operator- (TimeSpan t1, TimeSpan t2)
 
static TimeSpan operator+ (TimeSpan t1, TimeSpan t2)
 
static bool operator== (TimeSpan t1, TimeSpan t2)
 
static bool operator!= (TimeSpan t1, TimeSpan t2)
 
static bool operator< (TimeSpan t1, TimeSpan t2)
 
static bool operator<= (TimeSpan t1, TimeSpan t2)
 
static bool operator> (TimeSpan t1, TimeSpan t2)
 
static bool operator>= (TimeSpan t1, TimeSpan t2)
 
static TimeSpan ()
 

Static Public Attributes

const long TicksPerMillisecond = 10000L
 
const long TicksPerSecond = 10000000L
 
const long TicksPerMinute = 600000000L
 
const long TicksPerHour = 36000000000L
 
const long TicksPerDay = 864000000000L
 
static readonly TimeSpan Zero
 
static readonly TimeSpan MaxValue
 
static readonly TimeSpan MinValue
 

Static Package Functions

static long TimeToTicks (int hour, int minute, int second)
 

Package Attributes

readonly long _ticks
 

Static Package Attributes

const long MaxSeconds = 922337203685L
 
const long MinSeconds = -922337203685L
 
const long MaxMilliSeconds = 922337203685477L
 
const long MinMilliSeconds = -922337203685477L
 
const long TicksPerTenthSecond = 1000000L
 

Properties

long Ticks [get]
 
int Days [get]
 
int Hours [get]
 
int Milliseconds [get]
 
int Minutes [get]
 
int Seconds [get]
 
double TotalDays [get]
 
double TotalHours [get]
 
double TotalMilliseconds [get]
 
double TotalMinutes [get]
 
double TotalSeconds [get]
 

Static Private Member Functions

static TimeSpan Interval (double value, int scale)
 

Static Private Attributes

const double MillisecondsPerTick = 0.0001
 
const double SecondsPerTick = 1E-07
 
const double MinutesPerTick = 1.6666666666666667E-09
 
const double HoursPerTick = 2.7777777777777777E-11
 
const double DaysPerTick = 1.1574074074074074E-12
 
const int MillisPerSecond = 1000
 
const int MillisPerMinute = 60000
 
const int MillisPerHour = 3600000
 
const int MillisPerDay = 86400000
 

Detailed Description

Definition at line 9 of file TimeSpan.cs.


The documentation for this struct was generated from the following file: