SystemDateAndTime class
Contains information whether system date and time are set manually or by NTP, daylight savings is on or off, time zone in POSIX 1003.1 format and system date and time in UTC and also local system date and time.
- Annotations
-
- @JsonSerializable()
Constructors
- SystemDateAndTime({required String? dateTimeType, required String? daylightSavings, TimeZone? timeZone, OnvifDateTime? utc, OnvifDateTime? local})
-
SystemDateAndTime.fromJson(Map<
String, dynamic> json) -
factory
Properties
- dateTimeType → String?
-
Indicates if the time is set manually or through NTP.
final
- daylightSavings → String?
-
Informative indicator whether daylight savings is currently on/off.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- local → OnvifDateTime?
-
Date and time in local format.
final
- localDateTime → DateTime?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeZone → TimeZone?
-
Timezone information in Posix format.
final
- utc → OnvifDateTime?
-
Current system date and time in UTC format. This field is mandatory since version 2.0.
final
- utcDateTime → DateTime?
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited