Date Class |
Namespace: pdftron.PDF
public sealed class Date : IClosable
The Date type exposes the following members.
Name | Description | |
---|---|---|
Date | Date default constructor.
| |
Date(Date) | Creates a Date object from specified Date object
| |
Date(Obj) | Create a Date and initialize it using given Cos/SDF string date object.
String date object is attached to this Date.
| |
Date(Int16, Byte, Byte, Byte, Byte, Byte) | Create a Date and initialize it using specified parameters.
The Date is not attached to any Cos/SDF object.
|
Name | Description | |
---|---|---|
day | The day (01-31). | |
hour | The hour (00-23). | |
minute | The minute (00-59). | |
month | The month. | |
second | The second (00-59). | |
UT | The relationship of local time to Universal Time (UT),
denoted by one of the characters +, -, or Z | |
UT_hour | The absolute value of the offset from UT in hours (00-23) | |
UT_minutes | The absolute value of the offset from UT in minutes (00-59) | |
year | The year. |
Name | Description | |
---|---|---|
Attach | Attach the Cos/SDF object to the Date.
| |
Close | ||
Equals | (Inherited from 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.) | |
IsValid | Indicates whether the Date is valid (non-null). | |
Set | Sets value to given Date object
| |
SetCurrentTime | Sets the current time. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update | Saves changes made to the Date object in the attached (or specified) SDF/Cos string.
| |
Update(Obj) | Update.
|