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.
///
DateTime Now { get; }
+
+ ///
+ /// Gets a object that is set to the current date and time on this computer,
+ /// expressed as UTC time.
+ ///
+ DateTime UtcNow { get; }
}
/// A default clock implementation that wraps the property.
@@ -41,5 +47,10 @@
{
get { return DateTime.Now; }
}
+
+ public DateTime UtcNow
+ {
+ get { return DateTime.UtcNow; }
+ }
}
}