FhirDate class

Inheritance
Annotations
  • @immutable

Constructors

FhirDate(dynamic inValue, [DateTimePrecision? precision])
factory
FhirDate.fromBase({required bool isValid, required DateTimePrecision precision, required dynamic input, required Exception? parseError, required int year, required int month, required int day, required int hour, required int minute, required int second, required int millisecond, required int microsecond, required int timeZoneOffset, required bool isUtc})
const
FhirDate.fromJson(String json, {DateTimePrecision? precision})
factory
FhirDate.fromUnits({required int year, int? month, int? day, bool? isUtc})
factory
FhirDate.fromYaml(String yaml, [DateTimePrecision? precision])
factory

Properties

day int
finalinherited
hashCode int
The hash code for this object.
no setteroverride
hour int
finalinherited
input → dynamic
finalinherited
isUtc bool
finalinherited
isValid bool
finalinherited
microsecond int
finalinherited
millisecond int
finalinherited
minute int
finalinherited
month int
finalinherited
parseError Exception?
finalinherited
precision DateTimePrecision
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second int
finalinherited
timeZoneOffset int
finalinherited
value DateTime
no setterinherited
valueDateTime DateTime
no setterinherited
valueString String
no setterinherited
year int
finalinherited

Methods

comparisonError(Comparator comparator, Object o) InvalidTypes<FhirDateTimeBase>
inherited
fromJson<T>(String json, [DateTimePrecision? precision]) FhirDateTimeBase
inherited
isAfter(FhirDateTimeBase other) bool?
inherited
isAtSameMomentAs(FhirDateTimeBase other) bool?
inherited
isBefore(FhirDateTimeBase other) bool?
inherited
isEqual(Object other) bool?
inherited
isSameOrAfter(FhirDateTimeBase other) bool?
inherited
isSameOrBefore(FhirDateTimeBase other) bool?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
plus(ExtendedDuration other) FhirDate
override
subtract<T>(ExtendedDuration other) FhirDate
override
toIso8601String() String
inherited
toJson() String
inherited
toMap() Map<String, int>
inherited
toString() String
A string representation of this object.
inherited
toYaml() String
inherited

Operators

operator +(ExtendedDuration other) FhirDate
override
operator -(ExtendedDuration other) FhirDate
override
operator <(Object other) bool?
inherited
operator <=(Object other) bool?
inherited
operator ==(Object other) bool
The equality operator.
override
operator >(Object other) bool?
inherited
operator >=(Object other) bool?
inherited