Skip to content

Add a Clock API #4

Description

@sergiotaborda

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions