Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(178)

Unified Diff: Src/GoogleApis/Apis/Util/IClock.cs

Issue 13972043: Issue 351: Reimplement OAuth2 (Step 3 - Tests, Flows and Credential) (Closed) Base URL: https://google-api-dotnet-client.googlecode.com/hg/
Patch Set: minor Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Src/GoogleApis.Auth/Properties/AssemblyInfo.cs ('k') | Src/GoogleApis/Apis/Util/Store/IDataStore.cs » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Src/GoogleApis/Apis/Util/IClock.cs
===================================================================
--- a/Src/GoogleApis/Apis/Util/IClock.cs
b/Src/GoogleApis/Apis/Util/IClock.cs
@@ -26,6 26,12 @@
/// expressed as the local time.
/// </summary>
DateTime Now { get; }
/// <summary>
/// Gets a <seealso cref="DateTime"/> object that is set to the current date and time on this computer,
/// expressed as UTC time.
/// </summary>
DateTime UtcNow { get; }
}
/// <summary>A default clock implementation that wraps the <seealso cref="DateTime.Now"/> property.</summary>
@@ -41,5 47,10 @@
{
get { return DateTime.Now; }
}
public DateTime UtcNow
{
get { return DateTime.UtcNow; }
}
}
}
« no previous file with comments | « Src/GoogleApis.Auth/Properties/AssemblyInfo.cs ('k') | Src/GoogleApis/Apis/Util/Store/IDataStore.cs » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b