Office.MailboxEnums.RecurrenceTimeZone enum
Gibt die Zeitzone an, die auf die Wiederholung angewendet wird.
Hinweise
Anwendbarer Outlook-Modus: Verfassen oder Lesen
Beispiele
// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/50-recurrence/get-set-recurrence-appointment-organizer.yaml
// Important: Can only set the recurrence pattern of an appointment series.
const currentDate = new Date();
let seriesTimeObject: Office.SeriesTime;
// Set series start date to tomorrow.
seriesTimeObject.setStartDate(currentDate.getFullYear(), currentDate.getMonth(), currentDate.getDay() + 1);
// Set series end date to one year from now.
seriesTimeObject.setEndDate(currentDate.getFullYear() + 1, currentDate.getMonth() + 1, currentDate.getDay());
// Set start time to 1:30 PM.
seriesTimeObject.setStartTime(13, 30);
// Set duration to 30 minutes.
seriesTimeObject.setDuration(30);
const pattern: Office.Recurrence = {
seriesTime: seriesTimeObject,
recurrenceType: Office.MailboxEnums.RecurrenceType.Yearly,
recurrenceProperties: {
interval: 1,
dayOfWeek: Office.MailboxEnums.Days.Tue,
weekNumber: Office.MailboxEnums.WeekNumber.Second,
month: Office.MailboxEnums.Month.Sep
},
recurrenceTimeZone: { name: Office.MailboxEnums.RecurrenceTimeZone.PacificStandardTime }
};
Office.context.mailbox.item.recurrence.setAsync(pattern, (asyncResult) => {
if (asyncResult.status !== Office.AsyncResultStatus.Succeeded) {
console.error(`Failed to set recurrence. Error: ${asyncResult.error.message}`);
return;
}
console.log(`Succeeded in setting recurrence pattern ${JSON.stringify(pattern)}`);
});
Felder
AfghanistanStandardTime = "Afghanistan Standard Time" | Afghanistan Normalzeit |
AlaskanStandardTime = "Alaskan Standard Time" | Alaska Normalzeit |
AleutianStandardTime = "Aleutian Standard Time" | Aleuten Normalzeit |
AltaiStandardTime = "Altai Standard Time" | Altai Normalzeit |
ArabStandardTime = "Arab Standard Time" | Arabische Normalzeit |
ArabianStandardTime = "Arabian Standard Time" | Arabische Normalzeit |
ArabicStandardTime = "Arabic Standard Time" | Arabische Normalzeit |
ArgentinaStandardTime = "Argentina Standard Time" | Argentinien Normalzeit |
AstrakhanStandardTime = "Astrakhan Standard Time" | Astrachan Normalzeit |
AtlanticStandardTime = "Atlantic Standard Time" | Atlantische Normalzeit |
AUSCentralStandardTime = "AUS Central Standard Time" | Australien, Mitte Normalzeit |
AusCentralW_StandardTime = "Aus Central W. Standard Time" | Australien, Mitte West Normalzeit |
AUSEasternStandardTime = "AUS Eastern Standard Time" | AUS Eastern Normal time |
AzerbaijanStandardTime = "Azerbaijan Standard Time" | Aserbaidschan Normalzeit |
AzoresStandardTime = "Azores Standard Time" | Azoren Normalzeit |
BahiaStandardTime = "Bahia Standard Time" | Bahia Normalzeit |
BangladeshStandardTime = "Bangladesh Standard Time" | Bangladesch Normalzeit |
BelarusStandardTime = "Belarus Standard Time" | Belarus Normalzeit |
BougainvilleStandardTime = "Bougainville Standard Time" | Bougainville Normalzeit |
CanadaCentralStandardTime = "Canada Central Standard Time" | Kanada, Mitte Normalzeit |
CapeVerdeStandardTime = "Cape Verde Standard Time" | Kap Verde Normalzeit |
CaucasusStandardTime = "Caucasus Standard Time" | Kaukasus Normalzeit |
CenAustraliaStandardTime = "Cen. Australia Standard Time" | Central Australia Standard Time |
CentralAmericaStandardTime = "Central America Standard Time" | Zentralamerika Normalzeit |
CentralAsiaStandardTime = "Central Asia Standard Time" | Zentralasien Normalzeit |
CentralBrazilianStandardTime = "Central Brazilian Standard Time" | Zentralbrasilian Normalzeit |
CentralEuropeStandardTime = "Central Europe Standard Time" | Zentraleuropa Normalzeit |
CentralEuropeanStandardTime = "Central European Standard Time" | Mitteleuropäische Normalzeit |
CentralPacificStandardTime = "Central Pacific Standard Time" | Zentralpazifik Normalzeit |
CentralStandardTime = "Central Standard Time" | Zentrale Normalzeit |
CentralStandardTime_Mexico = "Central Standard Time (Mexico)" | Zentrale Normalzeit (Mexiko) |
ChathamIslandsStandardTime = "Chatham Islands Standard Time" | Chatham Islands Normalzeit |
ChinaStandardTime = "China Standard Time" | China Normalzeit |
CubaStandardTime = "Cuba Standard Time" | Kuba Normalzeit |
DatelineStandardTime = "Dateline Standard Time" | Datumslinie Standardzeit |
E_AfricaStandardTime = "E. Africa Standard Time" | Ostafrika Normalzeit |
E_AustraliaStandardTime = "E. Australia Standard Time" | Normalzeit Ost-Australien |
E_EuropeStandardTime = "E. Europe Standard Time" | Osteuropa Normalzeit |
E_SouthAmericaStandardTime = "E. South America Standard Time" | Ost-Südamerika Normalzeit |
EasterIslandStandardTime = "Easter Island Standard Time" | Osterinsel Normalzeit |
EasternStandardTime = "Eastern Standard Time" | Östliche Normalzeit |
EasternStandardTime_Mexico = "Eastern Standard Time (Mexico)" | Östliche Normalzeit (Mexiko) |
EgyptStandardTime = "Egypt Standard Time" | Ägypten Normalzeit |
EkaterinburgStandardTime = "Ekaterinburg Standard Time" | Jekaterinburg Normalzeit |
FijiStandardTime = "Fiji Standard Time" | Fidschi Normalzeit |
FLEStandardTime = "FLE Standard Time" | FLE Normalzeit |
GeorgianStandardTime = "Georgian Standard Time" | Georgische Normalzeit |
GMTStandardTime = "GMT Standard Time" | GMT Normalzeit |
GreenlandStandardTime = "Greenland Standard Time" | Grönland Normalzeit |
GreenwichStandardTime = "Greenwich Standard Time" | Greenwich Normalzeit |
GTBStandardTime = "GTB Standard Time" | GTB Normalzeit |
HaitiStandardTime = "Haiti Standard Time" | Haiti Normalzeit |
HawaiianStandardTime = "Hawaiian Standard Time" | Hawaiianische Normalzeit |
IndiaStandardTime = "India Standard Time" | Indien Normalzeit |
IranStandardTime = "Iran Standard Time" | Iran Normalzeit |
IsraelStandardTime = "Israel Standard Time" | Israel Normalzeit |
JordanStandardTime = "Jordan Standard Time" | Jordan Normalzeit |
KaliningradStandardTime = "Kaliningrad Standard Time" | Kaliningrad Normalzeit |
KamchatkaStandardTime = "Kamchatka Standard Time" | Kamtschatka Normalzeit |
KoreaStandardTime = "Korea Standard Time" | Korea Normalzeit |
LibyaStandardTime = "Libya Standard Time" | Libyen Normalzeit |
LineIslandsStandardTime = "Line Islands Standard Time" | Linieninseln Normalzeit |
LordHoweStandardTime = "Lord Howe Standard Time" | Lord Howe Normalzeit |
MagadanStandardTime = "Magadan Standard Time" | Magadan Normalzeit |
MagallanesStandardTime = "Magallanes Standard Time" | Magallanes Normalzeit |
MarquesasStandardTime = "Marquesas Standard Time" | Marquesas Normalzeit |
MauritiusStandardTime = "Mauritius Standard Time" | Mauritius Normalzeit |
MidAtlanticStandardTime = "Mid-Atlantic Standard Time" | Mid-Atlantic Normalzeit |
MiddleEastStandardTime = "Middle East Standard Time" | Normalzeit des Nahen Ostens |
MontevideoStandardTime = "Montevideo Standard Time" | Montevideo Normalzeit |
MoroccoStandardTime = "Morocco Standard Time" | Marokko Normalzeit |
MountainStandardTime = "Mountain Standard Time" | Berg Normalzeit |
MountainStandardTime_Mexico = "Mountain Standard Time (Mexico)" | Mountain Standard Time (Mexiko) |
MyanmarStandardTime = "Myanmar Standard Time" | Myanmar Normalzeit |
N_CentralAsiaStandardTime = "N. Central Asia Standard Time" | Nordmittelasien Normalzeit |
NamibiaStandardTime = "Namibia Standard Time" | Namibia Normalzeit |
NepalStandardTime = "Nepal Standard Time" | Nepal Normalzeit |
NewZealandStandardTime = "New Zealand Standard Time" | Neuseeland Normalzeit |
NewfoundlandStandardTime = "Newfoundland Standard Time" | Neufundland Normalzeit |
NorfolkStandardTime = "Norfolk Standard Time" | Norfolk Normalzeit |
NorthAsiaEastStandardTime = "North Asia East Standard Time" | Nordasien, Osten Normalzeit |
NorthAsiaStandardTime = "North Asia Standard Time" | Nordasien Normalzeit |
NorthKoreaStandardTime = "North Korea Standard Time" | Nordkorea Normalzeit |
OmskStandardTime = "Omsk Standard Time" | Omsk Normalzeit |
PacificSAStandardTime = "Pacific SA Standard Time" | Pacific SA Normalzeit |
PacificStandardTime = "Pacific Standard Time" | Pazifische Normalzeit |
PacificStandardTimeMexico = "Pacific Standard Time (Mexico)" | Pazifische Normalzeit (Mexiko) |
PakistanStandardTime = "Pakistan Standard Time" | Pakistan Normalzeit |
ParaguayStandardTime = "Paraguay Standard Time" | Paraguay Normalzeit |
RomanceStandardTime = "Romance Standard Time" | Romantik Normalzeit |
RussiaTimeZone10 = "Russia Time Zone 10" | Russische Zeitzone 10 |
RussiaTimeZone11 = "Russia Time Zone 11" | Russische Zeitzone 11 |
RussiaTimeZone3 = "Russia Time Zone 3" | Russische Zeitzone 3 |
RussianStandardTime = "Russian Standard Time" | Russische Normalzeit |
SAEasternStandardTime = "SA Eastern Standard Time" | SA Eastern Normal time |
SAPacificStandardTime = "SA Pacific Standard Time" | SA Pacific Normalzeit |
SAWesternStandardTime = "SA Western Standard Time" | SA Westliche Normalzeit |
SaintPierreStandardTime = "Saint Pierre Standard Time" | Saint Pierre Normalzeit |
SakhalinStandardTime = "Sakhalin Standard Time" | Sachalin Normalzeit |
SamoaStandardTime = "Samoa Standard Time" | Samoa Normalzeit |
SaratovStandardTime = "Saratov Standard Time" | Saratow Normalzeit |
SEAsiaStandardTime = "SE Asia Standard Time" | Südostasien Normalzeit |
SingaporeStandardTime = "Singapore Standard Time" | Singapur Normalzeit |
SouthAfricaStandardTime = "South Africa Standard Time" | Südafrika Normalzeit |
SriLankaStandardTime = "Sri Lanka Standard Time" | Sri Lanka Normalzeit |
SudanStandardTime = "Sudan Standard Time" | Sudan Normalzeit |
SyriaStandardTime = "Syria Standard Time" | Syrien Normalzeit |
TaipeiStandardTime = "Taipei Standard Time" | Taipeh Normalzeit |
TasmaniaStandardTime = "Tasmania Standard Time" | Tasmanien Normalzeit |
TocantinsStandardTime = "Tocantins Standard Time" | Tocantins Normalzeit |
TokyoStandardTime = "Tokyo Standard Time" | Tokio Normalzeit |
TomskStandardTime = "Tomsk Standard Time" | Tomsk Normalzeit |
TongaStandardTime = "Tonga Standard Time" | Tonga Normalzeit |
TransbaikalStandardTime = "Transbaikal Standard Time" | Transbaikale Normalzeit |
TurkeyStandardTime = "Turkey Standard Time" | Türkei Normalzeit |
TurksAndCaicosStandardTime = "Turks And Caicos Standard Time" | Turks And Caicos Normalzeit |
UlaanbaatarStandardTime = "Ulaanbaatar Standard Time" | Ulanbaatar Normalzeit |
USEasternStandardTime = "US Eastern Standard Time" | USA Östliche Normalzeit |
USMountainStandardTime = "US Mountain Standard Time" | USA Mountain Normalzeit |
UTC = "UTC" | Koordinierte Weltzeit (UTC) |
UTCPLUS12 = "UTC+12" | Koordinierte Weltzeit (UTC) + 12 Stunden |
UTCPLUS13 = "UTC+13" | Koordinierte Weltzeit (UTC) + 13 Stunden |
UTCMINUS02 = "UTC-02" | Koordinierte Weltzeit (UTC): 2 Stunden |
UTCMINUS08 = "UTC-08" | Koordinierte Weltzeit (UTC): 8 Stunden |
UTCMINUS09 = "UTC-09" | Koordinierte Weltzeit (UTC) – 9 Stunden |
UTCMINUS11 = "UTC-11" | Koordinierte Weltzeit (UTC): 11 Stunden |
VenezuelaStandardTime = "Venezuela Standard Time" | Venezuela Normalzeit |
VladivostokStandardTime = "Vladivostok Standard Time" | Wladiwostok Normalzeit |
W_AustraliaStandardTime = "W. Australia Standard Time" | Normalzeit west australia |
W_CentralAfricaStandardTime = "W. Central Africa Standard Time" | Westafrika Normalzeit |
W_EuropeStandardTime = "W. Europe Standard Time" | Europa, Westen Normalzeit |
W_MongoliaStandardTime = "W. Mongolia Standard Time" | Westmongolische Normalzeit |
WestAsiaStandardTime = "West Asia Standard Time" | Westasien Normalzeit |
WestBankStandardTime = "West Bank Standard Time" | Westbank Normalzeit |
WestPacificStandardTime = "West Pacific Standard Time" | Westpazifik Normalzeit |
YakutskStandardTime = "Yakutsk Standard Time" | Jakutsk Normalzeit |
Office Add-ins