| C# Visual Basic Visual C++ |
A Sandcastle Documented Class Library |
TimeUtil Class |
Class TimeUtil converts between integers in various time formats and DateTime objects.
Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
Syntax
C# | Visual Basic | Visual C++ |
public class TimeUtil
Public Class TimeUtil
public ref class TimeUtil
Members
All Members | Constructors | Methods |
Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |
Member | Description | |
---|---|---|
TimeUtil()()()() | Initializes a new instance of the TimeUtil class | |
Equals(Object) | (Inherited from Object.) | |
Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FromJavaTime(Int64) |
Convert from long with Java time (milliseconds since 1-Jan-1970) to Date object.
| |
FromUnixTime(Int32) |
Convert from int with Unix time (seconds since 1-Jan-1970) to Date object.
| |
FromVMSTime(Int64) |
Convert from long with VMS time (100 nanoseconds since 17-Nov-1858) to Date object.
| |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToJavaTime(DateTime) |
Convert from DateTime object to long with Java time (milliseconds since 1-Jan-1970).
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
ToUnixTime(DateTime) |
Convert from Date object to int with Unix time (seconds since 1-Jan-1970).
| |
ToVMSTime(DateTime) |
Convert from Date object to long with VMS time (100 nanoseconds since 17-Nov-1858).
|