[This is preliminary documentation and is subject to change.]
Defines the timeseries date
Inheritance Hierarchy
Datastream.DswsApi DSDateBase
Datastream.DswsApi DSTimeSeriesDate
Namespace: Datastream.DswsApi
Assembly: Datastream.DswsApi.NET4.0 (in Datastream.DswsApi.NET4.0.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public sealed class DSTimeSeriesDate : DSDateBase
Remarks
Examples
// Start/End specified as absolute dates var date1 = new DSTimeSeriesDate(DSDateType.Absolute(DateTime.Now.AddDays(-20)), DSDateType.Absolute(DateTime.Now), DSDateFrequency.Daily); // Start/End specified as relative dates var date2 = new DSTimeSeriesDate(DSDateType.Relative(-20), DSDateType.Relative(0), DSDateFrequency.Daily); // Start/End specified as literals var date3 = new DSTimeSeriesDate(DSDateType.Literal(DSDateLiterals.StartDateOfQuarter), DSDateType.Absolute(DateTime.Now), DSDateFrequency.Weekly); // Dont specify date var date4 = new DSTimeSeriesDate(null, null, DSDateFrequency.None);
Version Information
.NET API Framework
Supported in: 4.1, 3.6See Also