Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Language Independent Interfaces to Retrieve Locale Date and Time Conventions

IP.com Disclosure Number: IPCOM000117850D
Original Publication Date: 1996-Jun-01
Included in the Prior Art Database: 2005-Mar-31
Document File: 2 page(s) / 69K

Publishing Venue

IBM

Related People

Rose, WD: AUTHOR [+5]

Abstract

A programming language independent mechanism for retrieving a locale's date and time conventions is provided. These services address the need to have access to the locale data structure components containing date and time information.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Language Independent Interfaces to Retrieve Locale Date and Time
Conventions

      A programming language independent mechanism for retrieving a
locale's date and time conventions is provided.  These services
address the need to have access to the locale data structure
components containing date and time information.

      A set of programming language independent locale based services
has been defined for retrieving date and time information from the
locale data structure.  These services will help with the processing
of information in accordance with the cultural conventions of the
user.  Only the date and time information is handled by these
services.  Other locale information is not subject to these
interfaces, it is ignored.  These services have been defined as
programming language independent procedure calls.  Each of the
callable services relies on localization information available to
them at runtime, to alter their results in accordance with the local
preferences of the caller.

      These services use the data in a user's local profile
information which identifies preferences for various presentation
formats of the culturally sensitive information.  The POSIX 'locale'
concept has been adopted as the means of specifying the user's
preferences.

      The language independent interface specifications allow for a
wide number of programming languages to be used on a variety of
processing platforms.

      C function prototypes were used in the specification of the
functions to accurately describe the argument list and the data types
required.

      Procedure calls were used rather than function calls because
not all programming languages support the use of processes which
return function results.

The main features of the procedure calls are:
  o  localization information is used to provide culturally correct
      results
  o  loca...