@deephaven/jsapi-types
    Preparing search index...

    Interface LocalDateWrapper

    Wrap LocalDate values for use in JS. Provides text formatting for display and access to the underlying value.

    interface LocalDateWrapper {
        getDayOfMonth(): number;
        getMonthValue(): number;
        getYear(): number;
        toString(): string;
        valueOf(): string;
    }
    Index
    • The day of the month, from 1 to 31.

      Returns number

    • The month of the year, from 1 to 12.

      Returns number

    • The year.

      Returns number

    • Returns the date formatted as YYYY-MM-DD.

      Returns string

    • Returns the string representation of this date.

      Provided to match JavaScript's valueOf convention.

      Returns string

      The string form of this date.