Uses 4337K of libraries. Click here for Pure Java version (2644L/17K).
1 | // Library is imported in GoogleAccess |
2 | |
3 | import com.google.api.client.util.DateTime; |
4 | import com.google.api.client.util.store.FileDataStoreFactory; |
5 | import com.google.api.services.calendar.Calendar; |
6 | import com.google.api.services.calendar.CalendarScopes; |
7 | import com.google.api.services.calendar.model.Event; |
8 | import com.google.api.services.calendar.model.Events; |
9 | |
10 | static Calendar googleCalendarService(GoogleAccess ga, S applicationName) {
|
11 | ret new Calendar.Builder(ga.transport(), ga.jsonFactory(), ga.credential) |
12 | .setApplicationName(applicationName) |
13 | .build(); |
14 | } |
Began life as a copy of #1028420
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028554 |
| Snippet name: | googleCalendarService |
| Eternal ID of this version: | #1028554/3 |
| Text MD5: | 1a85e0c09c1a4f9175d29ad9ceffecad |
| Transpilation MD5: | d2b2dec772adf55246fc772aef973f1c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-06-26 18:38:55 |
| Source code size: | 581 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 484 / 631 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |