Last active
August 9, 2020 20:04
-
-
Save hamza39460/f53468d8fdd56fae6192976c0786bd0c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Event event = Event(); // Create object of event | |
event.summary = summaryText; //Setting summary of object | |
EventDateTime start = new EventDateTime(); //Setting start time | |
start.dateTime = startTime; | |
start.timeZone = "GMT+05:00"; | |
event.start = start; | |
EventDateTime end = new EventDateTime(); //setting end time | |
end.timeZone = "GMT+05:00"; | |
end.dateTime = endTime; | |
event.end = end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment