IDateTimeProvider Interface
The interface for providing DateTime information
Namespace: MoreDateTime.InterfacesAssembly: MoreDateTime (in MoreDateTime.dll) Version: 1.3.0
public interface IDateTimeProvider
Dim instance As IDateTimeProvider
public interface class IDateTimeProvider
No code example is currently available or this language may not be supported.
Now
|
Gets the current DateTime (or the mock value if set)
|
Today
|
Gets the date part of the current DateTime with the time set to 00:00:00 (or the mock value if set)
|
UtcNow
|
Gets the current UTC DateTime (or the mock value if set)
|
UtcToday
|
Gets the date part of the current UTC DateTime with the time set to 00:00:00 (or the mock value if set)
|