Browse Prior Art Database

Software Enabling for Localization of Weekend and Working Days Conventions

IP.com Disclosure Number: IPCOM000122991D
Original Publication Date: 1998-Mar-01
Included in the Prior Art Database: 2005-Apr-04
Document File: 3 page(s) / 63K

Publishing Venue

IBM

Related People

Soor, BS: AUTHOR

Abstract

A method that enables internationalization and allows localization of the weekend and weekdays to conform to locale customs and conventions is disclosed.

This text was extracted from an ASCII text file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 52% of the total text.

Software Enabling for Localization of Weekend and Working Days Conventions

      A method that enables internationalization and allows
localization of the weekend and weekdays to conform to locale customs
and conventions is disclosed.

      The North American view is that two days, Saturday and Sunday,
comprise the "weekend" with Monday being the first working day of the
week.  In many of the Arabic countries of the

Middle East

, however,
the "weekend" is Thursday (half-day) and Friday (full-day) and the
first working day of the week is Saturday!  Localizing conventions
such as these requires two elements:
  o  the first working day of the week.  This can be any day
      of the week.  It is not necessarily the first weekday
      shown in a calendar layout.
  o  the definition of "weekend" in terms of the days that
      comprise a "weekend".  It could be any day or days,
      including half days, of the week.

      In the case of POSIX/XPG4, the above localization elements can
be accommodated by adding new keywords to the LC_TIME category in the
locale.  In the case of Java, the LocaleElements (the table of Java
supplied standard locale elements) can be expanded with the addition
of new elements.  The new keywords/elements are:
  o  first_working_day_of_the week "x"
       where x can have the following values:
       -  "0" for Sunday
       -  "1" for Monday (this is also the default when x is
           empty; this allows current locales to continue working)
       -  "2" for Tuesday
       -  "3" for Wednesday
       -  "4" for Thursday
       -  "5" for Friday
       -  "6" for Saturday
     ...