DateBase Class
PlcOpen Date base class (32-Bit)
Inheritance Hierarchy
System.Object
  TwinCAT.PlcOpen.DateBase
    TwinCAT.PlcOpen.DATE
    TwinCAT.PlcOpen.DT
Namespace:  TwinCAT.PlcOpen
Assembly:  TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
public abstract class DateBase : IPlcOpenTimeBase<DateTime, uint>,
IPlcOpenTimeBase
The DateBase type exposes the following members.
Constructors
| 
                   
  | 
                   Name  | 
                   Description  | 
|---|---|---|
| 
                   
                      | 
                   Initializes a new instance of the DateBase class.  | |
| 
                   
                      | 
                   Initializes a new instance of the DateBase class.  | |
| 
                   
                      | 
                   Initializes a new instance of the DateBase class.  | 
Properties
| 
                   
  | 
                   Name  | 
                   Description  | 
|---|---|---|
| 
                   
  | 
                   Gets a value indicating whether this instance is representig a date (despite date and time)  | |
| 
                   
                     
                      | 
                   Gets the marshal size in bytes.  | |
| 
                   
                      | 
                   Returns the number of ticks that represent the value of this DateBase.  | 
Methods
| 
                   
  | 
                   Name  | 
                   Description  | 
|---|---|---|
| 
                   
                      | 
                   Determines whether the specified Object is equal to this instance. (Overrides Object.Equals(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.)  | 
| 
                   
                      | 
                   Gets the HashCode of the Address (Overrides Object.GetHashCode..)  | |
| 
                   
                      | 
                   GetType  | 
                   Gets the Type of the current instance. (Inherited from Object.)  | 
| 
                   
                      | 
                   MemberwiseClone  | 
                   Creates a shallow copy of the current Object. (Inherited from Object.)  | 
| 
                   
                      | 
                   Parses the specified PlcOpen Date string to PlcOpen ticks.  | |
| 
                   
                      | 
                   ToString  | 
                   Returns a string that represents the current object. (Inherited from Object.)  |