Click or drag to resize

Period Class

Defines the period in time that a set of degree days should cover.
Inheritance Hierarchy

Namespace: DegreeDays.Api.Data
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public abstract class Period

The Period type exposes the following members.

Methods
 NameDescription
Public methodStatic memberDayRange Returns a non-null DayRangePeriod object that specifies the period covered by dayRange.
Public methodEquals 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.
(Overrides ObjectEquals(Object))
Public methodGetHashCode Overridden to ensure consistency with Equals.
(Overrides ObjectGetHashCode)
Public methodStatic memberLatestValues Returns a non-null LatestValuesPeriod object that automatically resolves to a date range including the latest available data and the specified number of degree-day values.
Top
Remarks

This abstract class is not designed to be extended by third-party code, which is why it does not have an accessible constructor.

Thread Safety
All concrete subclasses of this abstract class are immutable. You can safely reuse them and call them from multiple threads at once.
See Also