You may want to consider adding this code to any application that contains a calendar view.
您可能想考虑将这段代码添加到任何包含一个日程表视图的应用程序中。
With the tools and code presented in this article, you can now store encrypted event text only in Google Calendar.
使用本文给出的工具和代码,您现在就可以在Google日程表中存储加密事件文本。
Listing 7 demonstrates code to get a new instance of the Calendar class, obtain the hour of the day (which is returned in a 24-hour format), and then put together a simple greeting based on that hour.
清单7给出了获得calendar类新实例的代码,从而得到一天中的具体时间(以24小时的格式返回),然后根据这个时间组合出一条简单的欢迎词。
应用推荐