From 05ccb4d8f1bbe3fb64e117136b4a89bcfb0b0b33 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 27 Oct 2020 19:21:35 +0800 Subject: Split front and back end. --- Timeline/Services/Clock.cs | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 Timeline/Services/Clock.cs (limited to 'Timeline/Services/Clock.cs') 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 -{ - /// - /// Convenient for unit test. - /// - public interface IClock - { - /// - /// Get current time. - /// - /// Current time. - DateTime GetCurrentTime(); - } - - public class Clock : IClock - { - public Clock() - { - - } - - public DateTime GetCurrentTime() - { - return DateTime.UtcNow; - } - } -} -- cgit v1.2.3