메소드 | 설명 | |
---|---|---|
FromAspNetAjax ( string dateTime ) : System.DateTime |
Converts an ASP.NET AJAX JSON string into a DateTime object.
|
|
FromIso8601 ( string dateTime ) : System.DateTime |
Converts an ISO 8601 (UTC) time/date format string into a DateTime object.
|
|
FromUtf32 ( int utf32 ) : string |
Converts a specified code point into a Unicode encoded string.
|
|
FromUtf32 ( uint utf32 ) : string | ||
ToGuid ( string value ) : System.Guid |
Creates a Guid from a string value.
|
|
ToHexString ( double value ) : string |
Converts a hexadecimal number to a hexadecimal string.
|
|
ToHexString ( int value ) : string |
Converts a hexadecimal number to a hexadecimal string.
|
|
ToIso8601 ( System.DateTime dateTime ) : string |
Converts a DateTime object into an ISO 8601 (UTC) string.
|
|
ToString ( double value ) : string |
Converts a Double to a string using a variant of the Double.ToString() method. The problem with the built-in ToString() method is that it wont automatically size the precision to fit the number. So a number like 33.3 gets truncated to just 33 unless you specify exactly the right amount of precision. This method attempts to determine the right amount of precision. CAUTION!!! I've seen many times when the built-in ToString() method returns a rounding error when you specify any meaningful precision. |
메소드 | 설명 | |
---|---|---|
ThreeDigits ( int value ) : string |
Ensures a three-digit number with leading zeros if necessary.
|
|
ToHexStringArray ( byte bytes ) : char[] | ||
TwoCharsToByte ( char charOne, char charTwo ) : byte |
Ccombines two characters into a single byte value.
|
|
TwoDigits ( int value ) : string |
Ensures a two-digit number with leading zero if necessary.
|
public static FromAspNetAjax ( string dateTime ) : System.DateTime | ||
dateTime | string | |
리턴 | System.DateTime |
public static FromIso8601 ( string dateTime ) : System.DateTime | ||
dateTime | string | |
리턴 | System.DateTime |
public static ToIso8601 ( System.DateTime dateTime ) : string | ||
dateTime | System.DateTime | |
리턴 | string |