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
SystemObject
  DegreeDays.Api.DataDataValue
    DegreeDays.Api.DataTimeSeriesDataValue

Namespace: DegreeDays.Api.Data
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
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
 NameDescription
Public methodStatic memberCreate Returns a non-null TimeSeriesDataValue object with the specified value, percentage estimated, and date-time.
Public methodEquals Returns true if obj is a TimeSeriesDataValue object with an equal Value, PercentageEstimated, and DateTimeOffset; false otherwise.
(Overrides DataValueEquals(Object))
Public methodGetHashCode Overridden to ensure consistency with Equals.
(Overrides DataValueGetHashCode)
Public methodToString Returns a non-null, non-empty string representation of this instance for logging and debugging purposes.
(Overrides DataValueToString)
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.
Version History
VersionDescription
1.2 This was added in version 1.2.
See Also