Bluestep JS Documentation
    Preparing search index...

    Interface TemporalAccessor

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

    See java.time.temporal for full documentation

    interface TemporalAccessor {
        get(field: TemporalField): number;
        getLong(field: TemporalField): number;
        isSupported(field: TemporalField): boolean;
        query<R>(query: TemporalQueryFn<R>): R;
        range(field: TemporalField): ValueRange;
    }
    Index

    Methods

    • Gets the value of the specified field as an int.

      Parameters

      Returns number

    • Gets the value of the specified field as a long.

      Parameters

      Returns number

    • Checks if the specified field is supported.

      Parameters

      Returns boolean

    • Queries this date-time.

      Type Parameters

      • R

      Parameters

      Returns R