You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Clock API allows for independence of the DateTime.now method making it possible to control time information for a single request ( all actions in the same request happened at the same logic time) allowing for posterior auditing.
A Clock API also allows to handle time in different timezones and in the present of daylight saving scenarios.
Finally code has better testability since you control the time at which operations are occurring.
The text was updated successfully, but these errors were encountered:
A Clock API allows for independence of the DateTime.now method making it possible to control time information for a single request ( all actions in the same request happened at the same logic time) allowing for posterior auditing.
A Clock API also allows to handle time in different timezones and in the present of daylight saving scenarios.
Finally code has better testability since you control the time at which operations are occurring.
The text was updated successfully, but these errors were encountered: