Package cn.vorbote.ical
Class 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
- Author:
- vorbote
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEvent(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.setDomainName(String domainName) Set the method for this calendar.Set the name for this calendar.setProductName(String productName) Set the product name for this calendar.
-
Constructor Details
-
Calendar
public Calendar()
-
-
Method Details
-
setName
Set the name for this calendar.- Parameters:
name- The name for the calendar.- Returns:
- The calendar instance.
-
setCompanyName
Set the company name for this calendar.- Parameters:
companyName- The company name for the calendar.- Returns:
- The calendar instance.
-
setDomainName
-
setProductName
Set the product name for this calendar.- Parameters:
productName- The product name for the calendar.- Returns:
- The calendar instance.
-
setMethod
Set the method for this calendar.- Parameters:
method- The product name for the calendar.- Returns:
- The calendar instance.
-
addEvent
Add a calendar node to this calendar.- Parameters:
node- Any calendar node.- Returns:
- The calendar instance.
-
resolve
Resolve the calendar instance to a text that implements RFC-5545.- Returns:
- A string includes all events in this calendar.
-