Enum RecalculationInterval
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Przerwanie obliczeńinterwału
Wyliczenie reprezentujące możliwe przedziały czasowe używane w przeliczaniu arkusza kalkulacyjnego.
Aby wywołać enum, wywołaj jego klasę nadrzędną, nazwę i właściwość. Na przykład:
SpreadsheetApp.RecalculationInterval.ON_CHANGE
.
Właściwości
Właściwość | Typ | Opis |
ON_CHANGE | Enum | Przeliczaj tylko wtedy, gdy zmienią się wartości. |
MINUTE | Enum | ponownie obliczać po zmianie wartości i co minutę; |
HOUR | Enum | ponownie obliczać po zmianie wartości i co godzinę. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eRecalculationInterval\u003c/code\u003e is used to control the frequency of spreadsheet recalculations within Google Apps Script.\u003c/p\u003e\n"],["\u003cp\u003eIt offers three options: \u003ccode\u003eON_CHANGE\u003c/code\u003e, \u003ccode\u003eMINUTE\u003c/code\u003e, and \u003ccode\u003eHOUR\u003c/code\u003e, allowing for recalculation triggered by value changes, every minute, or every hour, respectively.\u003c/p\u003e\n"],["\u003cp\u003eTo use these options, refer to them using the format \u003ccode\u003eSpreadsheetApp.RecalculationInterval.[property]\u003c/code\u003e, such as \u003ccode\u003eSpreadsheetApp.RecalculationInterval.ON_CHANGE\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum RecalculationInterval\n\nRecalculationInterval\n\nAn enumeration representing the possible intervals used in spreadsheet recalculation.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.RecalculationInterval.ON_CHANGE`. \n\n### Properties\n\n| Property | Type | Description |\n|-------------|--------|--------------------------------------------------------|\n| `ON_CHANGE` | `Enum` | Recalculate only when values are changed. |\n| `MINUTE` | `Enum` | Recalculate when values are changed, and every minute. |\n| `HOUR` | `Enum` | Recalculate when values are changed, and every hour. |"]]