程序包 cn.vorbote.ical
类 Calendar
java.lang.Object
cn.vorbote.ical.Calendar
Calendar Instance, implements the document of RFC 5545.
Created at 2022/9/20 10:37
Created at 2022/9/20 10:37
- 作者:
- vorbote
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addEvent(CalendarNode node) Add a calendar node to this calendar.resolve()Resolve the calendar instance to a text that implements RFC-5545.setCompanyName(String companyName) Set the company name for this calendar.Set the method for this calendar.Set the name for this calendar.setProductName(String productName) Set the product name for this calendar.
-
构造器详细资料
-
Calendar
public Calendar()
-
-
方法详细资料
-
setName
Set the name for this calendar.- 参数:
name- The name for the calendar.- 返回:
- The calendar instance.
-
setCompanyName
Set the company name for this calendar.- 参数:
companyName- The company name for the calendar.- 返回:
- The calendar instance.
-
setProductName
Set the product name for this calendar.- 参数:
productName- The product name for the calendar.- 返回:
- The calendar instance.
-
setMethod
Set the method for this calendar.- 参数:
method- The product name for the calendar.- 返回:
- The calendar instance.
-
addEvent
Add a calendar node to this calendar.- 参数:
node- Any calendar node.- 返回:
- The calendar instance.
-
resolve
Resolve the calendar instance to a text that implements RFC-5545.- 返回:
- A string includes all events in this calendar.
-