Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Globalization.TimeSpanFormat Class Reference

Classes

struct  FormatLiterals
 

Static Package Functions

static string Format (TimeSpan value, string format, IFormatProvider formatProvider)
 
static bool TryFormat (TimeSpan value, Span< char > destination, out int charsWritten, ReadOnlySpan< char > format, IFormatProvider formatProvider)
 
static string FormatC (TimeSpan value)
 

Static Package Attributes

static readonly FormatLiterals PositiveInvariantFormatLiterals = FormatLiterals.InitInvariant(isNegative: false)
 
static readonly FormatLiterals NegativeInvariantFormatLiterals = FormatLiterals.InitInvariant(isNegative: true)
 

Private Types

enum  StandardFormat { C , G , g }
 

Static Private Member Functions

static string FormatG (TimeSpan value, DateTimeFormatInfo dtfi, StandardFormat format)
 
static bool TryFormatStandard (TimeSpan value, StandardFormat format, string decimalSeparator, Span< char > destination, out int charsWritten)
 
static void WriteTwoDigits (uint value, Span< char > buffer)
 
static void WriteDigits (uint value, Span< char > buffer)
 
static StringBuilder FormatCustomized (TimeSpan value, ReadOnlySpan< char > format, DateTimeFormatInfo dtfi, StringBuilder result=null)
 

Detailed Description

Definition at line 8 of file TimeSpanFormat.cs.


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