FhirInstant class

Inheritance
Annotations
  • @immutable

Constructors

FhirInstant(dynamic inValue, [FhirDateTimePrecision? precision])
factory
FhirInstant.fromBase({required bool isValid, required FhirDateTimePrecision 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 num timeZoneOffset, required bool isUtc})
FhirInstant.fromJson(String json, {FhirDateTimePrecision? precision})
factory
FhirInstant.fromUnits({required int year, required int month, required int day, required int hour, required int minute, required int second, int? millisecond, int? microsecond, required num timeZoneOffset, bool? isUtc})
factory
FhirInstant.fromYaml(String yaml, [FhirDateTimePrecision? precision])
factory

Properties

children List<FhirBase>
no setterinherited
day int
finalinherited
fhirType String
no setteroverride
formatCommentsPost List<String>
no setterinherited
formatCommentsPre List<String>
no setterinherited
hashCode int
Returns the hash code of the FHIR primitive.
no setteroverride
hour int
finalinherited
input → dynamic
finalinherited
isPrimitive bool
no setterinherited
isUtc bool
finalinherited
isValid bool
Checks if the value is valid according to the FHIR type constraints.
finalinherited
microsecond int
finalinherited
millisecond int
finalinherited
minute int
finalinherited
month int
finalinherited
namedChildren Map<String, FhirBase>
no setterinherited
parseError Exception?
finalinherited
precision FhirDateTimePrecision
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second int
finalinherited
timeZoneOffset num
finalinherited
value DateTime
Returns the primitive value of the FHIR type.
no setterinherited
valueDateTime DateTime
no setterinherited
valueString String
no setterinherited
year int
finalinherited

Methods

addAnnotation(dynamic annotation) → void
inherited
addPropertyChangedListener(String property, void listener()) → void
inherited
annotations(Type type) Iterable
inherited
clearUserData(String name) → void
inherited
clone() FhirInstant
override
compareTo(FhirDateTimeBase other) int
Compares this object to another object.
inherited
comparisonError(Comparator comparator, Object o) InvalidTypes<FhirDateTimeBase>
inherited
deepCopy() FhirBase
inherited
fromJson<T>(String json, [FhirDateTimePrecision? precision]) FhirDateTimeBase
inherited
getUserData(String name) → dynamic
inherited
getUserInt(String name) int
inherited
getUserString(String name) String?
inherited
hasFormatComment() bool
inherited
hasUserData(String name) bool
inherited
isAfter(FhirDateTimeBase other) bool?
inherited
isAtSameMomentAs(FhirDateTimeBase other) bool?
inherited
isBefore(FhirDateTimeBase other) bool?
inherited
isEmpty() bool
inherited
isEqual(Object other) bool?
inherited
isExactly(FhirBase other) bool
inherited
isSameOrAfter(FhirDateTimeBase other) bool?
inherited
isSameOrBefore(FhirDateTimeBase other) bool?
inherited
matches(FhirBase other) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyPropertyChanged(String property) → void
inherited
plus(ExtendedDuration other) FhirInstant
override
primitiveValue() String?
inherited
removeAnnotations(Type type) → void
inherited
removePropertyChangedListener(String property, void listener()) → void
inherited
setUserData(String name, dynamic value) → void
inherited
subtract<T>(ExtendedDuration other) FhirInstant
override
toIso8601String() String
inherited
toJson() String
Returns a JSON representation of the FHIR primitive.
inherited
toJsonString() String
inherited
toJsonWithType() → dynamic
inherited
toMap() Map<String, num>
inherited
toString() String
Returns the string representation of the FHIR primitive.
inherited
toYaml() String
Returns a YAML representation of the FHIR primitive.
inherited
tryGetValue(String key, dynamic value) bool
inherited
validate() List<String>
inherited

Operators

operator +(ExtendedDuration other) FhirInstant
override
operator -(ExtendedDuration other) FhirInstant
override
operator <(Object other) bool?
inherited
operator <=(Object other) bool?
inherited
operator ==(Object other) bool
Checks equality with another object.
override
operator >(Object other) bool?
inherited
operator >=(Object other) bool?
inherited