OracleTimeStamp Methods
The OracleTimeStamp methods are listed in Table 14-113.
Table 113 OracleTimeStamp Methods
| Methods | Description |
|---|---|
| AddDays | Adds the supplied number of days to the current instance |
| AddHours | Adds the supplied number of hours to the current instance |
| AddMilliseconds | Adds the supplied number of milliseconds to the current instance |
| AddMinutes | Adds the supplied number of minutes to the current instance |
| AddMonths | Adds the supplied number of months to the current instance |
| AddNanoseconds | Adds the supplied number of nanoseconds to the current instance |
| AddSeconds | Adds the supplied number of seconds to the current instance |
| AddYears | Adds the supplied number of years to the current instance |
| CompareTo | Compares the current OracleTimeStamp instance to an object, and returns an integer that represents their relative values |
| Equals | Determines whether or not an object has the same date and time as the current OracleTimeStamp instance (Overloaded) |
| GetHashCode | Returns a hash code for the OracleTimeStamp instance |
| GetDaysBetween | Subtracts an OracleTimeStamp value from the current instance and returns an OracleIntervalDS that represents the time difference between the supplied OracleTimeStamp and the current instance |
| GetYearsBetween | Subtracts value1 from the current instance and returns an OracleIntervalYM that represents the difference between value1 and the current instance using OracleIntervalYM |
| GetType | Inherited from System.Object |
| ToOracleDate | Converts the current OracleTimeStamp structure to an OracleDate structure |
| ToOracleTimeStampLTZ | Converts the current OracleTimeStamp structure to an OracleTimeStampLTZ structure |
| ToOracleTimeStampTZ | Converts the current OracleTimeStamp structure to an OracleTimeStampTZ structure |
| ToString | Returns the string representation of the current instance. (Overloaded) |