发明名称 |
Date and time simulation for time-sensitive applications |
摘要 |
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 requester method initiated the invocation. The process may then determine whether the requester method should receive a real or simulated system time. A real system time may be returned to the requester method in the event it should receive the real system time. A simulated system time may be returned to the requester method in the event it should receive the simulated system time. A corresponding apparatus and computer program product are also disclosed and claimed herein.
|
申请公布号 |
US8352922(B2) |
申请公布日期 |
2013.01.08 |
申请号 |
US20090415908 |
申请日期 |
2009.03.31 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION;GRAY-DONALD TRENT A.;PRICE MARC WARNER |
发明人 |
GRAY-DONALD TRENT A.;PRICE MARC WARNER |
分类号 |
G06F9/44;G06F9/45 |
主分类号 |
G06F9/44 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|