Class RangeWindow
Represents a range window for a SetWindowFields window method.
public sealed class RangeWindow : SetWindowFieldsWindow
- Inheritance
-
RangeWindow
- Inherited Members
Properties
Current
Returns a "current" range window boundary.
public static KeywordRangeWindowBoundary Current { get; }
Property Value
LowerBoundary
The lower boundary.
public RangeWindowBoundary LowerBoundary { get; }
Property Value
Unbounded
Returns an "unbounded" range window boundary.
public static KeywordRangeWindowBoundary Unbounded { get; }
Property Value
UpperBoundary
The upper boundary.
public RangeWindowBoundary UpperBoundary { get; }
Property Value
Methods
Create(KeywordRangeWindowBoundary, KeywordRangeWindowBoundary)
Creates a range window.
public static RangeWindow Create(KeywordRangeWindowBoundary lowerBoundary, KeywordRangeWindowBoundary upperBoundary)
Parameters
lowerBoundary
KeywordRangeWindowBoundaryThe lower boundary.
upperBoundary
KeywordRangeWindowBoundaryThe upper boundary.
Returns
- RangeWindow
A range window.
Create(KeywordRangeWindowBoundary, TimeRangeWindowBoundary)
Creates a range window.
public static RangeWindow Create(KeywordRangeWindowBoundary lowerBoundary, TimeRangeWindowBoundary upperBoundary)
Parameters
lowerBoundary
KeywordRangeWindowBoundaryThe lower boundary.
upperBoundary
TimeRangeWindowBoundaryThe upper boundary.
Returns
- RangeWindow
A range window.
Create(TimeRangeWindowBoundary, KeywordRangeWindowBoundary)
Creates a range window.
public static RangeWindow Create(TimeRangeWindowBoundary lowerBoundary, KeywordRangeWindowBoundary upperBoundary)
Parameters
lowerBoundary
TimeRangeWindowBoundaryThe lower boundary.
upperBoundary
KeywordRangeWindowBoundaryThe upper boundary.
Returns
- RangeWindow
A range window.
Create(TimeRangeWindowBoundary, TimeRangeWindowBoundary)
Creates a range window.
public static RangeWindow Create(TimeRangeWindowBoundary lowerBoundary, TimeRangeWindowBoundary upperBoundary)
Parameters
lowerBoundary
TimeRangeWindowBoundaryThe lower boundary.
upperBoundary
TimeRangeWindowBoundaryThe upper boundary.
Returns
- RangeWindow
A range window.
Create<TValue>(KeywordRangeWindowBoundary, TValue)
Creates a range window.
public static RangeWindow Create<TValue>(KeywordRangeWindowBoundary lowerBoundary, TValue upperBoundary)
Parameters
lowerBoundary
KeywordRangeWindowBoundaryThe lower boundary.
upperBoundary
TValueThe upper boundary.
Returns
- RangeWindow
A range window.
Type Parameters
TValue
The type of the upper boundary condition.
Create<TValue>(TValue, KeywordRangeWindowBoundary)
Creates a range window.
public static RangeWindow Create<TValue>(TValue lowerBoundary, KeywordRangeWindowBoundary upperBoundary)
Parameters
lowerBoundary
TValueThe lower boundary.
upperBoundary
KeywordRangeWindowBoundaryThe upper boundary.
Returns
- RangeWindow
A range window.
Type Parameters
TValue
The type of the lower boundary condition.
Create<TValue>(TValue, TValue)
Creates a range window.
public static RangeWindow Create<TValue>(TValue lowerBoundary, TValue upperBoundary)
Parameters
lowerBoundary
TValueThe lower boundary.
upperBoundary
TValueThe upper boundary.
Returns
- RangeWindow
A range window.
Type Parameters
TValue
The type of the boundary conditions.
Days(int)
Returns a time range in days.
public static TimeRangeWindowBoundary Days(int value)
Parameters
value
intThe value.
Returns
- TimeRangeWindowBoundary
A time range.
Hours(int)
Returns a time range in hours.
public static TimeRangeWindowBoundary Hours(int value)
Parameters
value
intThe value.
Returns
- TimeRangeWindowBoundary
A time range.
Milliseconds(int)
Returns a time range in milliseconds.
public static TimeRangeWindowBoundary Milliseconds(int value)
Parameters
value
intThe value.
Returns
- TimeRangeWindowBoundary
A time range.
Minutes(int)
Returns a time range in minutes.
public static TimeRangeWindowBoundary Minutes(int value)
Parameters
value
intThe value.
Returns
- TimeRangeWindowBoundary
A time range.
Months(int)
Returns a time range in months.
public static TimeRangeWindowBoundary Months(int value)
Parameters
value
intThe value.
Returns
- TimeRangeWindowBoundary
A time range.
Quarters(int)
Returns a time range in quarters.
public static TimeRangeWindowBoundary Quarters(int value)
Parameters
value
intThe value.
Returns
- TimeRangeWindowBoundary
A time range.
Seconds(int)
Returns a time range in seconds.
public static TimeRangeWindowBoundary Seconds(int value)
Parameters
value
intThe value.
Returns
- TimeRangeWindowBoundary
A time range.
ToString()
public override string ToString()
Returns
Weeks(int)
Returns a time range in weeks.
public static TimeRangeWindowBoundary Weeks(int value)
Parameters
value
intThe value.
Returns
- TimeRangeWindowBoundary
A time range.
Years(int)
Returns a time range in years.
public static TimeRangeWindowBoundary Years(int value)
Parameters
value
intThe value.
Returns
- TimeRangeWindowBoundary
A time range.