# US 2017/0285580 A1 · Dynamically reconfiguring time zones in real-time using plural time zone libraries

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0285580 A1
- Document ID: US20170285580A1
- Status: Published application
- Kind: A1
- Application number: 15/628,687
- Filed: 2017-06-21
- Published: 2017-10-05
- Earliest claimed: 2014-08-19
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: David N. Clissold; Su Liu; Michael Ow; Teerasit Tinnakul
- Web page: https://patentgrep.com/patent/US20170285580A1

## CPC

- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G04G 5/00: Setting, i.e. correcting or changing, the time-indication (radio-controlled time-pieces G04R)
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 16/2477: {Temporal data queries}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G04G: ELECTRONIC TIME-PIECES

## Abstract

A computer program product for dynamically reconfiguring time zones in real-time using plural time zone (TZ) libraries is provided. The method provides integrating a first time zone information data (TZID) version and a second TZID version into a TZ library in an operating system. A first configuration comprising the TZ library and the first TZID version is selected. Responsive to adjusting the first configuration to a second configuration comprising the TZ library and the second TZID version, the second configuration is used automatically without restarting the operating system and without restarting an application.

## Claims

### Claim 1

A computer program product for retrieving local time using a plurality of time zone (TZ) libraries comprising:
a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
receiving, by a TZ management component of an operating system, a request for a local time setting of a computer, wherein the request includes a preferred TZ library, a preferred TZ information data (TZID) version, a preferred TZ name, a plurality of TZ library rules of reconfiguration, and a TZ name retrieval policy;
searching each of a plurality of TZ libraries and each of a plurality of TZID versions, wherein the plurality of TZ libraries and the plurality of TZID versions are integrated into the operating system, beginning with the preferred TZ library, in a user-defined pre-defined search order, for the preferred TZID version and the preferred TZ name;
based on the searching returning the preferred TZID version and the preferred TZ name, dynamically loading a corresponding TZ rule for formatting the local time of the computer;
based on the TZ rule indicating that daylight savings time (DST) is observed, applying the DST rule from the TZ rule for deriving the local time;
formatting the local time using a system-wide localization rule or a user-defined localization rule.

### Claim 2 (depends on 1)

The computer program product of claim 1, wherein the plurality of TZ rules of reconfiguration include:
at least one pre-defined environment variable;
a list for prioritizing an order in which to load the plurality of TZ libraries and the plurality of TZID versions;
a list of operating system directories and files used by the operating system to locate and load the plurality of TZ libraries and the plurality of TZID versions; and
logic for selecting and reconfiguring the search order of the plurality of TZ libraries and the plurality of TZID versions.

### Claim 3 (depends on 1)

The computer program product of claim 1, further comprising:
displaying a list of available TZID versions from a TZ library;
re-ordering the displayed list of available TZID versions and the default TZ library pointer, based on user-defined input;
updating the default TZ library pointer and the TZ version checker with the re-ordered list of available TZID versions; and
utilizing automatically the re-ordered list of available TZID versions without restarting the operating system and without restarting an application.

### Claim 4 (depends on 1)

The computer program product of claim 1, wherein the TZID versions are at least one of:
an ordered list;
a linked list;
one or more arrays;
one or more tables; and
a set of algorithms.

### Claim 5 (depends on 1)

The computer program product of claim 1, wherein the default TZ library pointer is set to a default TZ library and default TZID version pair, based on a user-defined search order.

### Claim 6 (depends on 1)

The computer program product of claim 1, wherein the user-defined default TZ library pointer is automatically reset to a new TZ library and a new TZID version pair, based on the TZ rules of reconfiguration dynamically changing the search order of the plurality of TZ libraries and the plurality of TZID versions.
