EthiopianDateTime class
- Inheritance
- Available extensions
Constructors
Properties
- day ↔ int
-
The day of the month
[1..31].getter/setter pairoverride-getter -
getAllDaysInMonth
→ List<
EthiopianDateTime> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hour ↔ int
-
The hour of the day, expressed as in a 24-hour clock
[0..23].getter/setter pairoverride-getter - isUtc → bool
-
True if this DateTime is set to UTC time.
finalinherited
- microsecond ↔ int
-
The microsecond
[0...999].getter/setter pairoverride-getter - microsecondsSinceEpoch → int
-
The number of microseconds since
the "Unix epoch" 1970-01-01T00:00:00Z (UTC).
no setterinherited
- millisecond ↔ int
-
The millisecond
[0...999].getter/setter pairoverride-getter - millisecondsSinceEpoch → int
-
The number of milliseconds since
the "Unix epoch" 1970-01-01T00:00:00Z (UTC).
no setterinherited
- minute ↔ int
-
The minute
[0...59].getter/setter pairoverride-getter - month ↔ int
-
The month
[1..12].getter/setter pairoverride-getter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- second ↔ int
-
The second
[0...59].getter/setter pairoverride-getter - timeRange ↔ String
-
getter/setter pair
- timeZoneName → String
-
The time zone name.
no setterinherited
- timeZoneOffset → Duration
-
The time zone offset, which
is the difference between local time and UTC.
no setterinherited
- totalDaysInMonth → int
-
no setter
- weekday → int
-
The day of the week monday..sunday.
no setterinherited
- year ↔ int
-
The year.
getter/setter pairoverride-getter
Methods
-
add(
Duration duration) → DateTime -
Returns a new DateTime instance with
durationadded to this DateTime.inherited -
compareTo(
DateTime other) → int -
Compares this DateTime object to
other, returning zero if the values are equal.inherited -
copyWith(
{int? year, int? month, int? day, int? hour, int? minute, int? second, int? millisecond, int? microsecond, bool? isUtc}) → DateTime -
Available on DateTime, provided by the DateTimeCopyWith extension
Creates a new DateTime from this one by updating individual properties. -
difference(
DateTime other) → Duration -
Returns a Duration with the difference when subtracting
otherfrom this DateTime.inherited -
isAfter(
DateTime other) → bool -
Whether this DateTime occurs after
other.inherited -
isAtSameMomentAs(
DateTime other) → bool -
Whether this DateTime occurs at the same moment as
other.inherited -
isBefore(
DateTime other) → bool -
Whether this DateTime occurs before
other.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subtract(
Duration duration) → DateTime -
Returns a new DateTime instance with
durationsubtracted from this DateTime.inherited -
toIso8601String(
) → String -
Returns an ISO-8601 full-precision extended format representation.
inherited
-
toLocal(
) → DateTime -
Returns this DateTime value in the local time zone.
inherited
-
toString(
) → String -
Returns a human-readable string for this instance.
inherited
-
toUtc(
) → DateTime -
Returns this DateTime value in the UTC time zone.
inherited
Operators
-
operator ==(
Object other) → bool -
Whether
otheris a DateTime at the same moment and in the same time zone (UTC or local).inherited