Browse Prior Art Database

Language Independent Interface For Formatting Time And Date Into A Wide-character String

IP.com Disclosure Number: IPCOM000015120D
Original Publication Date: 2001-Aug-01
Included in the Prior Art Database: 2003-Jun-20

Publishing Venue

IBM

Abstract

Disclosed is a language independent service that formats date and time localization information including weekend and work day specifications into a wide-character string. The service has been designed to exploit 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 the weekend. The service relies on a 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 on a variety of processing platforms. The ACEEFTDW service converts the internal time and date specifications of the TD_STRUCT structure into a wide-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 ACEEFTDW is : void ACEEFTDW [Locale_Handle], Time_And_Date, Maxsize, Format, Wide_String_out, [fc] CEE_HANDLE *Locale_Handle;