Browse Prior Art Database

Language Independent Interface for Formatting Time and Date Information including Weekend Specification Disclosure Number: IPCOM000014994D
Original Publication Date: 2001-Jun-17
Included in the Prior Art Database: 2003-Jun-20

Publishing Venue



Disclosed is a programming language independent service that correctly formats date and time information when such information includes weekend and workday specifications. This service has been defined to exploit the additional localization information for the first work day of the week, the first day of the weekend, the second day of the weekend and a discriminator for a half day as the first day of a weekend. The service relies on the locale to provide localization at run time to cater to local preferences. The service is designed as a procedure call to allow its use by a wide number of programming languages across a variety of processing platforms. The ACEEFTDS service converts the internal time and date specifications of the TD_STRUCT structure into a character string under the direction of the supplied format conversion specifiers The actual values for the format specifiers are dependent on the current locale settings for LC_TIME category. The syntax of ACEEFTDS is: void ACEEFTDS [Locale_Handle], Time_And_Date, Maxsize, Format, String_out, [fc] CEE_HANDLE *Locale_Handle; TD_STRUCT *Time_And_Date;