Bluestep JS Documentation
    Preparing search index...

    Interface Temporal

    Framework-level interface defining read-write access to a temporal object, such as a date, time, offset or some combination of these.

    See java.time.temporal for full documentation

    interface Temporal {
        isSupported(unit: TemporalUnit): boolean;
        minus(amountToSubtract: number, unit: TemporalUnit): Temporal;
        minus(amount: TemporalAmount): Temporal;
        plus(amountToAdd: number, unit: TemporalUnit): Temporal;
        plus(amount: TemporalAmount): Temporal;
        until(endExclusive: Temporal, unit: TemporalUnit): number;
        with(adjuster: TemporalAdjusterFn): Temporal;
        with(field: TemporalField, newValue: number): Temporal;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Checks if the specified unit is supported.

      Parameters

      Returns boolean

    • Returns an object of the same type as this object with the specified period subtracted.

      Parameters

      Returns Temporal

    • Returns an object of the same type as this object with an amount subtracted.

      Parameters

      Returns Temporal

    • Returns an object of the same type as this object with the specified period added.

      Parameters

      Returns Temporal

    • Returns an object of the same type as this object with an amount added.

      Parameters

      Returns Temporal

    • Calculates the amount of time until another temporal in terms of the specified unit.

      Parameters

      Returns number

    • Returns an adjusted object of the same type as this object with the adjustment made.

      Parameters

      Returns Temporal

    • Returns an object of the same type as this object with the specified field altered.

      Parameters

      Returns Temporal