Zum Hauptinhalt springen

ValidityPeriodDto

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.PipelineDataTransferObjects

One validity period of a series: the half-open time range [ValidityPeriodDto.From, ValidityPeriodDto.To) in which the series is expected to hold data (e.g. the participation period of a metering point). A series may have several periods; overlapping or touching periods of one series are merged.

public record ValidityPeriodDto : IEquatable<ValidityPeriodDto>

Inheritance Object → ValidityPeriodDto
Implements IEquatable<ValidityPeriodDto>

Properties​

RtId​

Runtime id of the series' source entity.

public string RtId { get; set; }

Property Value​

String

From​

Start of the validity, inclusive. Give it with its UTC offset; a value without an offset is read as UTC.

public DateTime From { get; set; }

Property Value​

DateTime

To​

End of the validity, exclusive; leave it unset for an open end. Same offset rules as ValidityPeriodDto.From; it must be later than ValidityPeriodDto.From.

public Nullable<DateTime> To { get; set; }

Property Value​

Nullable<DateTime>

Constructors​

ValidityPeriodDto()​

Caution​

Constructors of types with required members are not supported in this version of your compiler.


public ValidityPeriodDto()