Interface IZonedClock
Represents a provider of ZonedDateTime instances.
public interface IZonedClock : IGenerator<ZonedDateTime>, IGenerator
- Inherited Members
- Extension Methods
Properties
TimeZone
Specifies the time zone of this clock.
TimeZoneInfo TimeZone { get; }
Property Value
Methods
GetNow()
Returns the current ZonedDateTime.
ZonedDateTime GetNow()
Returns
- ZonedDateTime
Current ZonedDateTime.