diff options
Diffstat (limited to 'Timeline/Services/Clock.cs')
-rw-r--r-- | Timeline/Services/Clock.cs | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/Timeline/Services/Clock.cs b/Timeline/Services/Clock.cs deleted file mode 100644 index 4395edcd..00000000 --- a/Timeline/Services/Clock.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System;
-
-namespace Timeline.Services
-{
- /// <summary>
- /// Convenient for unit test.
- /// </summary>
- public interface IClock
- {
- /// <summary>
- /// Get current time.
- /// </summary>
- /// <returns>Current time.</returns>
- DateTime GetCurrentTime();
- }
-
- public class Clock : IClock
- {
- public Clock()
- {
-
- }
-
- public DateTime GetCurrentTime()
- {
- return DateTime.UtcNow;
- }
- }
-}
|