ObjDateTimeNullExt extension
Properties
- day → int?
-
Available on Obj<
The day of the monthDateTime?> , provided by the ObjDateTimeNullExt extension[1..31]
.no setter - hour → int?
-
Available on Obj<
The hour of the day, expressed as in a 24-hour clockDateTime?> , provided by the ObjDateTimeNullExt extension[0..23]
.no setter - microsecond → int?
-
Available on Obj<
The microsecondDateTime?> , provided by the ObjDateTimeNullExt extension[0...999]
.no setter - microsecondsSinceEpoch → int?
-
Available on Obj<
The number of microseconds since the "Unix epoch" 1970-01-01T00:00:00Z (UTC).DateTime?> , provided by the ObjDateTimeNullExt extensionno setter - millisecond → int?
-
Available on Obj<
The millisecondDateTime?> , provided by the ObjDateTimeNullExt extension[0...999]
.no setter - millisecondsSinceEpoch → int?
-
Available on Obj<
The number of milliseconds since the "Unix epoch" 1970-01-01T00:00:00Z (UTC).DateTime?> , provided by the ObjDateTimeNullExt extensionno setter - minute → int?
-
Available on Obj<
The minuteDateTime?> , provided by the ObjDateTimeNullExt extension[0...59]
.no setter - month → int?
-
Available on Obj<
The monthDateTime?> , provided by the ObjDateTimeNullExt extension[1..12]
.no setter - second → int?
-
Available on Obj<
The secondDateTime?> , provided by the ObjDateTimeNullExt extension[0...59]
.no setter - timeZoneName → String?
-
Available on Obj<
The time zone name.DateTime?> , provided by the ObjDateTimeNullExt extensionno setter - timeZoneOffset → Duration?
-
Available on Obj<
The time zone offset, which is the difference between local time and UTC.DateTime?> , provided by the ObjDateTimeNullExt extensionno setter - weekday → int?
-
Available on Obj<
The day of the weekDateTime?> , provided by the ObjDateTimeNullExt extensionmonday
..sunday
.no setter - year → int?
-
Available on Obj<
The year.DateTime?> , provided by the ObjDateTimeNullExt extensionno setter
Methods
-
add(
Duration duration) → DateTime? -
Available on Obj<
Returns a new DateTime instance withDateTime?> , provided by the ObjDateTimeNullExt extensionduration
added tothis
. -
compareTo(
DateTime other) → int? -
Available on Obj<
Compares this DateTime object toDateTime?> , provided by the ObjDateTimeNullExt extensionother
, returning zero if the values are equal. -
difference(
DateTime other) → Duration? -
Available on Obj<
Returns a Duration with the difference when subtractingDateTime?> , provided by the ObjDateTimeNullExt extensionother
fromthis
. -
isAfter(
DateTime other) → bool? -
Available on Obj<
Returns true ifDateTime?> , provided by the ObjDateTimeNullExt extensionthis
occurs afterother
. -
isAtSameMomentAs(
DateTime other) → bool? -
Available on Obj<
Returns true ifDateTime?> , provided by the ObjDateTimeNullExt extensionthis
occurs at the same moment asother
. -
isBefore(
DateTime other) → bool? -
Available on Obj<
Returns true ifDateTime?> , provided by the ObjDateTimeNullExt extensionthis
occurs beforeother
. -
subtract(
Duration duration) → DateTime? -
Available on Obj<
Returns a new DateTime instance withDateTime?> , provided by the ObjDateTimeNullExt extensionduration
subtracted fromthis
. -
toIso8601String(
) → String? -
Available on Obj<
Returns an ISO-8601 full-precision extended format representation.DateTime?> , provided by the ObjDateTimeNullExt extension -
toLocal(
) → DateTime? -
Available on Obj<
Returns this DateTime value in the local time zone.DateTime?> , provided by the ObjDateTimeNullExt extension -
toUtc(
) → DateTime? -
Available on Obj<
Returns this DateTime value in the UTC time zone.DateTime?> , provided by the ObjDateTimeNullExt extension