Thetype exposes the following members.
Constructs a LatestValuesPeriod object that automatically resolves to a date range including the latest available data and the specified number of degree-day values.
Gets the number, greater than zero, that was specified using WithMinimumNumberOfValues(Int32), or null if no such minimum number of values was specified.
Gets the number, greater than zero, indicating how many degree-day values this period should cover (seeon how the values in question can be daily, weekly, monthly, or yearly).
Two Period objects are equal if it can be ascertained that they will always represent the same period in time as each other when compared at the same time and in the same context.(Inherited from Period.)
Overridden to ensure consistency with Equals.(Inherited from Period.)
Returns a non-null, non-empty string representation of this instance for logging and debugging purposes.(Overrides ObjectToString.)
Returns a new LatestValuesPeriod with the same NumberOfValues as this, but also specifying minimumNumberOfValues as the minimum number of values required.
If you want data covering specific dates, you may be better off using a DayRangePeriod. But this class can be a useful convenience if you want the latest available data containing a specific number of daily, weekly, monthly, or yearly values. It can save you from some date arithmetic, and you won't need to consider the time-zones or update delays of the weather stations that you're getting data from to figure out the exact dates of the latest data that is likely to be available.