terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
System.TimeSpan Struct Reference
+ Inheritance diagram for System.TimeSpan:
+ Collaboration 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)
 
global::System.TimeSpan Add (global::System.TimeSpan ts)
 
int CompareTo (object value)
 
int CompareTo (global::System.TimeSpan value)
 
override bool Equals (object value)
 
bool Equals (global::System.TimeSpan obj)
 
override int GetHashCode ()
 
global::System.TimeSpan Negate ()
 
global::System.TimeSpan Subtract (global::System.TimeSpan ts)
 
override string ToString ()
 
string ToString (string format)
 
string ToString (string format, global::System.IFormatProvider formatProvider)
 
bool TryFormat (global::System.Span< char > destination, out int charsWritten, global::System.ReadOnlySpan< char > format=default(global::System.ReadOnlySpan< char >), global::System.IFormatProvider formatProvider=null)
 

Static Public Member Functions

static int Compare (global::System.TimeSpan t1, global::System.TimeSpan t2)
 
static global::System.TimeSpan FromDays (double value)
 
static global::System.TimeSpan FromHours (double value)
 
static global::System.TimeSpan FromMilliseconds (double value)
 
static global::System.TimeSpan FromMinutes (double value)
 
static global::System.TimeSpan FromSeconds (double value)
 
static global::System.TimeSpan FromTicks (long value)
 
static global::System.TimeSpan Parse (string s)
 
static global::System.TimeSpan Parse (string input, global::System.IFormatProvider formatProvider)
 
static bool TryParseExact (string input, string format, global::System.IFormatProvider formatProvider, out global::System.TimeSpan result)
 
static global::System.TimeSpan operator- (global::System.TimeSpan t)
 
static global::System.TimeSpan operator- (global::System.TimeSpan t1, global::System.TimeSpan t2)
 
static global::System.TimeSpan operator+ (global::System.TimeSpan t1, global::System.TimeSpan t2)
 
static bool operator== (global::System.TimeSpan t1, global::System.TimeSpan t2)
 
static bool operator!= (global::System.TimeSpan t1, global::System.TimeSpan t2)
 
static bool operator< (global::System.TimeSpan t1, global::System.TimeSpan t2)
 
static bool operator<= (global::System.TimeSpan t1, global::System.TimeSpan t2)
 
static bool operator> (global::System.TimeSpan t1, global::System.TimeSpan t2)
 
static bool operator>= (global::System.TimeSpan t1, global::System.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 global::System.TimeSpan Zero
 
static readonly global::System.TimeSpan MaxValue
 
static readonly global::System.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, set]
 
int Days [get, set]
 
int Hours [get, set]
 
int Milliseconds [get, set]
 
int Minutes [get, set]
 
int Seconds [get, set]
 
double TotalDays [get, set]
 
double TotalHours [get, set]
 
double TotalMilliseconds [get, set]
 
double TotalMinutes [get, set]
 
double TotalSeconds [get, set]
 

Static Private Member Functions

static global::System.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 18 of file TimeSpan.cs.


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