Click or drag to resize

TimeSeriesDataValue Class

Contains a value (e.g. a temperature value) for a specific point in time, and an approximate indication of its accuracy.
Inheritance Hierarchy

Namespace:  DegreeDays.Api.Data
Assembly:  DegreeDays (in DegreeDays.dll) Version: 1.3
Syntax
public abstract class TimeSeriesDataValue : DataValue

The TimeSeriesDataValue type exposes the following members.

Properties
  NameDescription
Public propertyDateTime
Gets the DateTime indicating the YYYY-MM-DDThh:mm date-time of this TimeSeriesDataValue in the local time-zone of the weather station.
Public propertyDateTimeOffset
Gets the DateTimeOffset indicating the YYYY-MM-DDThh:mm date-time of this TimeSeriesDataValue, both in the local time-zone of the weather station, and relative to UTC.
Public propertyDay
Gets the Day indicating the YYYY-MM-DD date that this TimeSeriesDataValue falls on in the local time-zone of the weather station.
Public propertyDayOfMonth
Gets the number between 1 and 31 (inclusive) indicating the day of the month that this TimeSeriesDataValue falls on in the local time-zone of the weather station.
Public propertyDayOfWeek
Gets the DayOfWeek indicating the day of the week that this TimeSeriesDataValue falls on in the local time-zone of the weather station.
Public propertyDayOfYear
Gets the number between 1 and 366 inclusive (365 for non-leap years) indicating the day of the year that this TimeSeriesDataValue falls on in the local time-zone of the weather station.
Public propertyHour
Gets the number between 0 and 23 (inclusive) indicating the hour of the day that this TimeSeriesDataValue falls in in the local time-zone of the weather station.
Public propertyMinute
Gets the number between 0 and 59 (inclusive) indicating the minute of the hour that this TimeSeriesDataValue falls in in the local time-zone of the weather station.
Public propertyMonthOfYear
Gets the number between 1 (January) and 12 (December) indicating the month of the year that this TimeSeriesDataValue falls in in the local time-zone of the weather station.
Public propertyOffsetTotalMinutes
Gets the total number of minutes by which the date-time of this TimeSeriesDataValue (in the local time zone of the weather station) is offset from UTC.
Public propertyPercentageEstimated
Gets the number between 0 and 100 (both inclusive) indicating the extent to which the calculated Value is based on estimated data.
(Inherited from DataValue.)
Public propertyValue
Gets the value, which will never be NaN or infinity, and, for degree days, will always be zero or greater.
(Inherited from DataValue.)
Public propertyYear
Gets the number indicating the year that this TimeSeriesDataValue falls in in the local time-zone of the weather station.
Top
Methods
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.
Version History
VersionDescription
1.2 This was added in version 1.2.
See Also