Browse Prior Art Database

Current Time Style Bit

IP.com Disclosure Number: IPCOM000099488D
Original Publication Date: 1990-Jan-01
Included in the Prior Art Database: 2005-Mar-15
Document File: 1 page(s) / 26K

Publishing Venue

IBM

Related People

Eisen, I: AUTHOR [+3]

Abstract

This article describes a method for creating a time field with the current time automatically placed in it. Individual countries or even individual users can have a current Time field appear in a window in a format they understand without doing anything other than setting a style bit at window creation time.

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

Current Time Style Bit

       This article describes a method for creating a time field
with the current time automatically placed in it. Individual
countries or even individual users can have a current Time field
appear in a window in a format they understand without doing anything
other than setting a style bit at window creation time.

      A means is needed to automatically initialize a Time field with
the current Time based on a user's cultural preferences. The
initialization of the Time field should take into account cultural
preferences, such as Calendar type (e.g., Gregorian, Islamic, Julian,
etc.), Era identifier (e.g. AD, Showa, etc.), start of year (e.g.
January 1st, March 1st) weekstart, daystart, time zone, and daylight
savings rule (e.g., US rule, UK rule, European rule, etc.).

      Allow the application the capability of specifying the
CURRENT_DATE style bit when the Time field is created.  The time
control will query the system to get an internal value for Time and
then convert the Time to the user's cultural preferences passed to it
at window creation time by the application.