Class DateMath
Assembly: OpenSearch.Client.dll
Syntax
public abstract class DateMath : IDateMath
Fields
|
Edit this page
View Source
Anchor
Declaration
protected Union<DateTime, string> Anchor
Field Value
|
Edit this page
View Source
Round
Declaration
protected DateMathTimeUnit? Round
Field Value
Properties
|
Edit this page
View Source
Now
Declaration
public static DateMathExpression Now { get; }
Property Value
|
Edit this page
View Source
Self
Declaration
protected IDateMath Self { get; }
Property Value
Methods
|
Edit this page
View Source
Anchored(DateTime)
Declaration
public static DateMathExpression Anchored(DateTime anchor)
Parameters
Returns
|
Edit this page
View Source
Anchored(string)
Declaration
public static DateMathExpression Anchored(string dateAnchor)
Parameters
Type |
Name |
Description |
string |
dateAnchor |
|
Returns
|
Edit this page
View Source
FromString(string)
Declaration
public static DateMath FromString(string dateMath)
Parameters
Type |
Name |
Description |
string |
dateMath |
|
Returns
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
|
Edit this page
View Source
implicit operator DateMath(DateTime)
Declaration
public static implicit operator DateMath(DateTime dateTime)
Parameters
Returns
|
Edit this page
View Source
implicit operator DateMath(string)
Declaration
public static implicit operator DateMath(string dateMath)
Parameters
Type |
Name |
Description |
string |
dateMath |
|
Returns
Implements
Extension Methods