aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services/Clock.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-08-08 16:54:03 +0800
committer杨宇千 <crupest@outlook.com>2019-08-08 16:54:03 +0800
commitd018e1c318646c6d7fecc8d3824129e9f1d5cf6c (patch)
treeda11e395a3fd1340187fb785fc17e570171b942b /Timeline/Services/Clock.cs
parentdc1ab11cea249f4ca967f86b115147a63f7c93a5 (diff)
parente283a3e745bad05a55c572646d7b20fbaaeb522d (diff)
downloadtimeline-d018e1c318646c6d7fecc8d3824129e9f1d5cf6c.tar.gz
timeline-d018e1c318646c6d7fecc8d3824129e9f1d5cf6c.tar.bz2
timeline-d018e1c318646c6d7fecc8d3824129e9f1d5cf6c.zip
Merge branch 'master' into null-request-field
Diffstat (limited to 'Timeline/Services/Clock.cs')
-rw-r--r--Timeline/Services/Clock.cs64
1 files changed, 32 insertions, 32 deletions
diff --git a/Timeline/Services/Clock.cs b/Timeline/Services/Clock.cs
index 98451ad9..0499c0c6 100644
--- a/Timeline/Services/Clock.cs
+++ b/Timeline/Services/Clock.cs
@@ -1,32 +1,32 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-
-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.Now;
- }
- }
-}
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+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.Now;
+ }
+ }
+}