DateTimeUtil Class
The DateTimeUtil class can be used to convert or modify utcdatetime and Timezone values.
class DateTimeUtil extends Object
|
Method |
Description |
|---|---|
|
Cancels a previous method call to the Object.setTimeOut Method. (Inherited from Object.) | |
|
Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
|
Returns the timer handle for the object. (Inherited from Object.) | |
|
Retrieves the handle of the class of the object. (Inherited from Object.) | |
|
Initializes a new instance of the DateTimeUtil class. | |
|
Releases the hold on an object that has called a wait method on this object. (Inherited from Object.) | |
|
Releases a lock on the object that was issued by a wait method on this object. (Inherited from Object.) | |
|
Determines whether the object is on a server. (Inherited from Object.) | |
|
Returns the instance that owns the object. (Inherited from Object.) | |
|
Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
|
Returns a string that represents the current object. (Inherited from Object.) | |
|
Returns the current number of references (the value of the reference counter) that the object has. (Inherited from Object.) | |
|
Pauses a process. (Inherited from Object.) | |
|
Returns an XML string that represents the current object. (Inherited from Object.) | |
|
Adds the specified number of days to a utcdatetime value. | |
|
Adds the specified number of hours to a utcdatetime value. | |
|
Adds the specified number of minutes to a utcdatetime value. | |
|
Adds the specified number of months to a utcdatetime value. | |
|
Adds the specified number of seconds to a utcdatetime value. | |
|
Adds the specified number of years to a utcdatetime value. | |
|
Converts an anytype object to a utcdatetime value. | |
|
Retrieves a utcdatetime value that is offset from the specified utcdatetime value by the amount indicated by the specified Timezone enumeration value. | |
|
Converts the specified utcdatetime value to a date object. | |
|
Retrieves the number of the day in the month that is specified by a utcdatetime value. | |
|
Gets the Timezone value that is used by the current company. | |
|
Gets the number of seconds between the two specified utcdatetime values. | |
|
Gets the current system time as a utcdatetime value. | |
|
Gets the offset of the specified utcdatetime value to UTC by using the information in a Timezone enumeration value. | |
|
Gets the PreferredCalendar enumeration value of the current user. | |
|
Gets the PreferredTimezone enumeration value of the current user. | |
|
Retrieves the number of the hour in the day that is specified by a utcdatetime value. | |
|
Retrieves the maximum value that is allowed for a variable of the utcdatetime type. | |
|
Retrieves the number of the minute in the hour that is specified by a utcdatetime value. | |
|
Retrieves the minimum value that is allowed for a variable of the utcdatetime type. | |
|
Retrieves the number of the month in the year that is specified by a utcdatetime value. | |
|
Creates a new utcdatetime value by using the specified date and timeOfDay values. | |
|
Creates a new utcdatetime value from the specified string. | |
|
Removes the offset that is indicated by a Timezone enumeration value from the specified utcdatetime value. | |
|
Retrieves the number of the seconds in a minute that is specified by a utcdatetime value. | |
|
Sets the Timezone enumeration value used by the current company. | |
|
Sets the date and time of the system to the specified utcdatetime value. | |
|
Sets the value of the PreferredCalendar enumeration type of the current user for the current session. | |
|
Sets the preferred timezone of the user to the specified Timezone enumeration value. | |
|
Retrieves the number of seconds elapsed since midnight as a timeOfDay value from the specified utcdatetime value. | |
|
Converts a utcdatetime value to a string with the following format: YYYY-MM-DDThh:mm:ss where T is a character literal. | |
|
Retrieves a utcdatetime value that indicates the current system time. | |
|
Retrieves the number of the year that is specified by a utcdatetime value. |