Invention Grant
US08418151B2 Date and time simulation for time-sensitive applications 有权
时间敏感应用程序的日期和时间模拟

Date and time simulation for time-sensitive applications
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
Information query
Patent Agency Ranking
0/0