Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | Using BrokerDate Objects | BrokerDate Functions
 
BrokerDate Functions
You can use the awNewBrokerDate to create and initialize a BrokerDate with the desired date and time. By default, the is_date_and_time member is set to 1 (true). If you desire an empty BrokerDate, use the awNewEmptyBrokerDate function. You are responsible for calling awDeleteDate when you no longer need the object.
You may use the awNewBrokerDateSequence to create a sequence of empty BrokerDate objects with their is_date_and_time members set to 0 (false). You are responsible for calling awDeleteDate when you no longer need the object.
Other BrokerDate functions include:
Method
Description
Clears the entire contents of this BrokerDate
Clears only the hour, minute, second, and millisecond.
Determines if one BrokerDate greater than, equal to, or less than another BrokerDate.
Copies one BrokerDate to another.
Converts a BrokerDate to a string, using the current locale.
Converts a BrokerDate to a string.
Converts a BrokerDate to the C time_t format.
Sets the year, month, and day.
Sets a BrokerDate from a time_t parameter.
Sets the date and time.
Set only the hour, minute, second, and millisecond.