2022-12-01から1ヶ月間の記事一覧
/** * 配列をもとにカレンダーに予定を入れる * @param holidays{object} * @return - * タイトル、開始時間、終了時間 */ function calendar(holidays) { for (const holiday of holidays) { const [title, startTime, endTime] = holiday; CalendarApp.get…
/** * 祝日+会社の休日から配列Holidaysを作る * @param - * @return holidays * 年始に稼働させる(getFullYearを使用しているため) */ function isHoliday() { //Googleカレンダーの日本の祝日を取り込む const cal = CalendarApp.getCalendarById('ja.ja…