Module ecron_time
September 1, 2011 ยท View on GitHub
Module ecron_time
Ecron counterparts of the built-in time functions.
Authors: Ulf Wiger (ulf.wiger@erlang-solutions.com).
Description
This module wraps the standard time functions, erlang:localtime(),
erlang:universaltime(), erlang:now() and os:timestamp().
The reason for this is to enable mocking to simulate time within ecron.
Function Index
| localtime/0 | |
| now/0 | |
| timestamp/0 | |
| universaltime/0 |
Function Details
localtime/0
localtime() -> any()
now/0
now() -> any()
timestamp/0
timestamp() -> any()
universaltime/0
universaltime() -> any()