回答編集履歴
1
テストするには
answer
CHANGED
@@ -5,6 +5,11 @@
|
|
5
5
|
`var datetimes = set_availability(["some@example.com","other@example.com"])`みたいな呼び出しをするとdatetimesにsome@example.comやother@example.comのカレンダーにない日付が配列で返されます(Date型で返されます)。
|
6
6
|
|
7
7
|
```javascript
|
8
|
+
fuction manual_run() {
|
9
|
+
var res = set_availability(["あなたの@アドレス"]);
|
10
|
+
Logger.log(res);
|
11
|
+
}
|
12
|
+
|
8
13
|
function set_availability(calendarids){ //calendaridsはカレンダidの配列を渡す。2人でなくてもよいようにはしているが、時間がかかりすぎる問題がある。
|
9
14
|
|
10
15
|
//idをGoogle カレンダーの配列にする
|