Office.RecurrenceTimeZone interface

Представляет часовой пояс повторения.

Комментарии

[ Набор API: Почтовый ящик 1.7 ]

Минимальный уровень разрешений: чтение элемента

Применимый режим Outlook: создание или чтение

Примеры

// This example gets the Recurrence object of an appointment item.
Office.context.mailbox.item.recurrence.getAsync(callback);

function callback(asyncResult) {
    const context = asyncResult.context;
    const recurrence = asyncResult.value;
    if (!recurrence) {
    //if (recurrence == null) {
        console.log("One-time appointment or meeting");
    } else {
        console.log(JSON.stringify(recurrence));
    }
}

// The following example shows the results of the getAsync call that retrieves the recurrence for a series.
// NOTE: In this example, seriesTimeObject is a placeholder for the JSON representing the
// recurrence.seriesTime property. You should use the SeriesTime object's methods to get the
// recurrence date and time properties.
Recurrence = {
    "recurrenceType": "weekly",
    "recurrenceProperties": {"interval": 2, "days": ["mon","thu","fri"], "firstDayOfWeek": "sun"},
    "seriesTime": {seriesTimeObject},
    "recurrenceTimeZone": {"name": "Pacific Standard Time", "offset": -480}
}

Свойства

name

Представляет имя часового пояса повторения.

offset

Целочисленное значение, представляющее разницу в минутах между местным часовой поясом и utc на дату начала ряда собраний.

Сведения о свойстве

name

Представляет имя часового пояса повторения.

name: MailboxEnums.RecurrenceTimeZone | string;

Значение свойства

offset

Целочисленное значение, представляющее разницу в минутах между местным часовой поясом и utc на дату начала ряда собраний.

offset?: number;

Значение свойства

number