Class NcTimeMeasureType
A data type for a measure of an amount of time.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcTimeMeasureType : NcMeasureType, IEquatable<NcMeasureType>, IEquatable<NcTimeMeasureType>
Properties
Context
ncTimeMeasureType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcTimeMeasureType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcTimeMeasureType.ContextEnum> | ncTimeMeasureType JSON-LD context |
PersonPrenatalAgeUnitCode
A unit of measure of the age of an unborn child. NIEM reference is j:PersonPrenatalAgeUnitCode
Declaration
[DataMember(Name = "personPrenatalAgeUnitCode")]
public List<NdexPrenatalAgeUnitCodeType> PersonPrenatalAgeUnitCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexPrenatalAgeUnitCodeType> | A unit of measure of the age of an unborn child. NIEM reference is j:PersonPrenatalAgeUnitCode |
TimeUnitCode
A unit of measure of the time value. NIEM reference is nc:TimeUnitCode
Declaration
[DataMember(Name = "timeUnitCode")]
public List<UneceTimeCodeType> TimeUnitCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UneceTimeCodeType> | A unit of measure of the time value. NIEM reference is nc:TimeUnitCode |
Methods
Equals(NcTimeMeasureType)
Returns true if NcTimeMeasureType instances are equal
Declaration
public bool Equals(NcTimeMeasureType other)
Parameters
Type | Name | Description |
---|---|---|
NcTimeMeasureType | other | Instance of NcTimeMeasureType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(NcTimeMeasureType, NcTimeMeasureType)
Declaration
public static bool operator ==(NcTimeMeasureType left, NcTimeMeasureType right)
Parameters
Type | Name | Description |
---|---|---|
NcTimeMeasureType | left | |
NcTimeMeasureType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcTimeMeasureType, NcTimeMeasureType)
Declaration
public static bool operator !=(NcTimeMeasureType left, NcTimeMeasureType right)
Parameters
Type | Name | Description |
---|---|---|
NcTimeMeasureType | left | |
NcTimeMeasureType | right |
Returns
Type | Description |
---|---|
System.Boolean |