Skip to content

SystemClockChangedEventArgs() constructor

Defined in

Type: SystemClockChangedEventArgs Namespace: System.Reactive.PlatformServices Assembly: System.Reactive.dll

Applies to

netstandard2.0

Overloads

  • 1. public SystemClockChangedEventArgs()
  • 2. public SystemClockChangedEventArgs(DateTimeOffset oldTime, DateTimeOffset newTime)

1. Overload

public SystemClockChangedEventArgs()

Summary: Creates a new system clock notification object with unknown old and new times.

2. Overload

public SystemClockChangedEventArgs(DateTimeOffset oldTime, DateTimeOffset newTime)

Summary: Creates a new system clock notification object with the specified old and new times.

Parameters

NameTypeDescription
oldTimeDateTimeOffsetTime before the system clock changed, or DateTimeOffset.MinValue if not known.
newTimeDateTimeOffsetTime after the system clock changed, or DateTimeOffset.MaxValue if not known.