Invention Grant
- Patent Title: Date and time simulation for time-sensitive applications
- Patent Title (中): 时间敏感应用程序的日期和时间模拟
-
Application No.: US13431968Application Date: 2012-03-27
-
Publication No.: US08418151B2Publication Date: 2013-04-09
- Inventor: Trent A. Gray-Donald , Marc Warner Price
- Applicant: Trent A. Gray-Donald , Marc Warner Price
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Nelson and Nelson
- Agent Daniel P. Nelson; Alexis V. Nelson
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/45

Abstract:
A process for providing a simulated date and/or time to a time-sensitive application is disclosed herein. Such a process may include detecting the invocation of a time handler method configured to retrieve system time. Upon detecting the invocation, the contents of a call stack may be captured and analyzed to determine which requestor method initiated the invocation. The process may then determine whether the requestor method should receive a real or simulated system time. A real system time may be returned to the requestor method in the event it should receive the real system time. A simulated system time may be returned to the requestor method in the event it should receive the simulated system time. A corresponding apparatus and computer program product are also disclosed and claimed herein.
Public/Granted literature
- US20120185690A1 DATE AND TIME SIMULATION FOR TIME-SENSITIVE APPLICATIONS Public/Granted day:2012-07-19
Information query