[This is preliminary documentation and is subject to change.]
Defines the snapshot date
Inheritance Hierarchy
Datastream.DswsApi DSDateBase
Datastream.DswsApi DSSnapshotDate
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 DSSnapshotDate : DSDateBase
Remarks
Examples
// An absolute date var date1 = new DSSnapshotDate(DSDateType.Absolute(DateTime.Now)); // A relative date var date2 = new DSSnapshotDate(DSDateType.Relative(-20)); // A relative date with frequency var date3 = new DSSnapshotDate(DSDateType.Relative(-20, DSDateFrequency.Monthly)); // A literal date var date4 = new DSSnapshotDate(DSDateType.Literal(DSDateLiterals.StartDateOfQuarter)); // Dont specify date var date5 = new DSSnapshotDate(null);
Version Information
.NET API Framework
Supported in: 4.1, 3.6See Also