The DateAndTime type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DateAndTime(DateTime) |
Construct using dateTime object
| |
DateAndTime(Double) |
Constructs using decimal input
|
Methods
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Fields
Name | Description | |
---|---|---|
day |
Day
| |
dayOfWeek |
Day of week
| |
dayOfYear |
Day of year
| |
hour |
Hour
| |
microSecond |
Micro second
| |
milliSecond |
Millisecond
| |
minute |
Minute
| |
month |
Month
| |
second |
Second
| |
year |
Year
|