Class DateTimeImpl
Inheritance
System.Object
DateTimeImpl
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Cosmos.System2_Plugs.dll
Syntax
public static class DateTimeImpl
Properties
|
Improve this Doc
View Source
Now
Declaration
public static DateTime Now { get; }
Property Value
Type |
Description |
System.DateTime |
|
|
Improve this Doc
View Source
UtcNow
Declaration
public static DateTime UtcNow { get; }
Property Value
Type |
Description |
System.DateTime |
|
Methods
|
Improve this Doc
View Source
FileTimeToSystemTime(Int64, Object)
Declaration
public static bool FileTimeToSystemTime(long aLong, object aFulSystemTime)
Parameters
Type |
Name |
Description |
System.Int64 |
aLong |
|
System.Object |
aFulSystemTime |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetGetSystemTimeAsFileTimeFnPtr()
Declaration
public static IntPtr GetGetSystemTimeAsFileTimeFnPtr()
Returns
Type |
Description |
System.IntPtr |
|
|
Improve this Doc
View Source
SystemSupportsLeapSeconds()
Declaration
public static bool SystemSupportsLeapSeconds()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ToFileTimeLeapSecondsAware(Int64)
Declaration
public static long ToFileTimeLeapSecondsAware(long aLong)
Parameters
Type |
Name |
Description |
System.Int64 |
aLong |
|
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
ToLongDateString(ref DateTime)
Declaration
public static string ToLongDateString(ref DateTime aThis)
Parameters
Type |
Name |
Description |
System.DateTime |
aThis |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ToLongTimeString(ref DateTime)
Declaration
public static string ToLongTimeString(ref DateTime aThis)
Parameters
Type |
Name |
Description |
System.DateTime |
aThis |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ToShortDateString(ref DateTime)
Declaration
public static string ToShortDateString(ref DateTime aThis)
Parameters
Type |
Name |
Description |
System.DateTime |
aThis |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ToShortTimeString(ref DateTime)
Declaration
public static string ToShortTimeString(ref DateTime aThis)
Parameters
Type |
Name |
Description |
System.DateTime |
aThis |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ToString(ref DateTime)
Declaration
public static string ToString(ref DateTime aThis)
Parameters
Type |
Name |
Description |
System.DateTime |
aThis |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public static string ToString(ref DateTime aThis, string format, IFormatProvider provider)
Parameters
Type |
Name |
Description |
System.DateTime |
aThis |
|
System.String |
format |
|
System.IFormatProvider |
provider |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ToUniversalTime(DateTime)
Declaration
public static DateTime ToUniversalTime(DateTime aThis)
Parameters
Type |
Name |
Description |
System.DateTime |
aThis |
|
Returns
Type |
Description |
System.DateTime |
|
|
Improve this Doc
View Source
Declaration
public static bool TryFormat(DateTime aThis, Span<char> aCharSpan, ref int aInt, ReadOnlySpan<char> aReadOnlySpan, IFormatProvider aFormatProvider)
Parameters
Type |
Name |
Description |
System.DateTime |
aThis |
|
System.Span<System.Char> |
aCharSpan |
|
System.Int32 |
aInt |
|
System.ReadOnlySpan<System.Char> |
aReadOnlySpan |
|
System.IFormatProvider |
aFormatProvider |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ValidateLeapSecond(DateTime)
Declaration
public static void ValidateLeapSecond(DateTime aThis)
Parameters
Type |
Name |
Description |
System.DateTime |
aThis |
|
|
Improve this Doc
View Source
ValidateSystemTime(Object, Boolean)
Declaration
public static bool ValidateSystemTime(object aSystemTime, bool aBoolean)
Parameters
Type |
Name |
Description |
System.Object |
aSystemTime |
|
System.Boolean |
aBoolean |
|
Returns
Type |
Description |
System.Boolean |
|