Search Results for

    Show / Hide Table of Contents

    Class DateMathExpression

    Inheritance
    object
    DateMath
    DateMathExpression
    Implements
    IDateMath
    Inherited Members
    DateMath.Anchor
    DateMath.Round
    DateMath.Now
    DateMath.Self
    DateMath.Anchored(DateTime)
    DateMath.Anchored(string)
    DateMath.FromString(string)
    DateMath.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class DateMathExpression : DateMath, IDateMath

    Constructors

    | Edit this page View Source

    DateMathExpression(Union<DateTime, string>, DateMathTime, DateMathOperation)

    Declaration
    public DateMathExpression(Union<DateTime, string> anchor, DateMathTime range, DateMathOperation operation)
    Parameters
    Type Name Description
    Union<DateTime, string> anchor
    DateMathTime range
    DateMathOperation operation
    | Edit this page View Source

    DateMathExpression(DateTime)

    Declaration
    public DateMathExpression(DateTime anchor)
    Parameters
    Type Name Description
    DateTime anchor
    | Edit this page View Source

    DateMathExpression(string)

    Declaration
    public DateMathExpression(string anchor)
    Parameters
    Type Name Description
    string anchor

    Methods

    | Edit this page View Source

    Add(DateMathTime)

    Declaration
    public DateMathExpression Add(DateMathTime expression)
    Parameters
    Type Name Description
    DateMathTime expression
    Returns
    Type Description
    DateMathExpression
    | Edit this page View Source

    Operation(DateMathTime, DateMathOperation)

    Declaration
    public DateMathExpression Operation(DateMathTime expression, DateMathOperation operation)
    Parameters
    Type Name Description
    DateMathTime expression
    DateMathOperation operation
    Returns
    Type Description
    DateMathExpression
    | Edit this page View Source

    RoundTo(DateMathTimeUnit)

    Declaration
    public DateMath RoundTo(DateMathTimeUnit round)
    Parameters
    Type Name Description
    DateMathTimeUnit round
    Returns
    Type Description
    DateMath
    | Edit this page View Source

    Subtract(DateMathTime)

    Declaration
    public DateMathExpression Subtract(DateMathTime expression)
    Parameters
    Type Name Description
    DateMathTime expression
    Returns
    Type Description
    DateMathExpression

    Implements

    IDateMath

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • DateMathExpression(Union<DateTime, string>, DateMathTime, DateMathOperation)
      • DateMathExpression(DateTime)
      • DateMathExpression(string)
    • Methods
      • Add(DateMathTime)
      • Operation(DateMathTime, DateMathOperation)
      • RoundTo(DateMathTimeUnit)
      • Subtract(DateMathTime)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX