NmeaSentence.AgeTo(DateTimeOffset) Method

Definition

The relative age of this sentence against a time stamp. Useful when analyzing recorded data, where "now" should also be a time in the past.

C#
public TimeSpan AgeTo (DateTimeOffset now);

Parameters

now
DateTimeOffset

Time to compare against

Returns

The time difference

Applies to

Product Versions
.NET IoT Libraries 2.2.0