Timestamp Class
Note: This API is now obsolete.
Represents a point of time since January 01, 1970.
Inheritance Hierarchy
System.Object
TcHmiSrv.Timestamp
Namespace: TcHmiSrv
Assembly: TcHmiSrvExtNet (in
TcHmiSrvExtNet.dll) Version: 3.0.0.0
Syntax
C#
[ObsoleteAttribute("Type 'TcHmiSrv.Timestamp' is obsolete. Use type 'System.DateTime' instead.")]
public class Timestamp : IEquatable<Timestamp>,
IDisposable
The Timestamp type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the Timestamp class. | |
|
Initializes a new instance of the Timestamp class with the specified number of nanoseconds. | |
|
Initializes a new instance of the Timestamp class based on another Timestamp. |
Properties
|
Name |
Description |
---|---|---|
|
Gets the number of milliseconds from the current Timestamp. | |
|
Gets the number of nanoseconds from the current Timestamp. | |
|
Obsolete. Gets a Timestamp that represents the current point of time. | |
|
Gets the number of seconds from the current Timestamp. |
Methods
|
Name |
Description |
---|---|---|
|
Releases all resources used by the Timestamp | |
|
Releases the unmanaged resources used by the Timestamp and optionally releases the managed resources | |
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Indicates whether the current Timestamp is equal to another Timestamp. | |
|
(Overrides Object.Finalize..) | |
|
Creates a Timestamp from a Windows file time. | |
|
Creates a Timestamp from a number of milliseconds since 1 January 1970. | |
|
Creates a Timestamp from an unix timestamp. | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Returns a string that represents the current object. (Inherited from Object.) |
Operators
|
Name |
Description |
---|---|---|
|
Determines whether two instances of the Timestamp class are equal. | |
|
Converts an instance of the DateTime class to the appropriate instance of the Timestamp class. | |
|
Converts an instance of the Timestamp class to the appropriate instance of the DateTime class. | |
|
Determines whether two instances of the Timestamp class are not equal. |