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

Hierarchy

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

Generated using TypeDoc