Package cn.vorbote.ical
Class Event
java.lang.Object
cn.vorbote.ical.CalendarNode
cn.vorbote.ical.Event
Event
Created at 2022/9/20 10:38
Created at 2022/9/20 10:38
- Author:
- vorbote
-
Field Summary
Fields inherited from class cn.vorbote.ical.CalendarNode
categories, classification, comment, description, domainName, duration, end, location, percentComplete, priority, start, summary, timezone, uid, url -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCategories(String... categories) Add a batch of categories.addCategories(Collection<String> categories) Add a batch of categories.addCategory(String category) Add a category.resolve()setClassification(Classification classification) Set the classification.setComment(String comment) Set the comment.setDescription(String description) Set the description.setDomainName(String domainName) Set the domain name of this event.setDuration(TimeSpan duration) Set the duration of this event.Set the end of this node.setLocation(String location) Set the location.setPercentComplete(Integer percentComplete) Set the percent complete value.setPriority(Integer priority) Set a priority.Set the start of this event.setSummary(String summary) Set the summary.setTimezone(ITimezone timezone) Set the timezone of this event.Set the uid of this event.Set the URL.Methods inherited from class cn.vorbote.ical.CalendarNode
resolveCategories
-
Constructor Details
-
Event
public Event()
-
-
Method Details
-
addCategories
Add a batch of categories.- Parameters:
categories- A batch of categories.- Returns:
- The Event instance.
-
addCategories
Add a batch of categories.- Parameters:
categories- A batch of categories.- Returns:
- The Event instance.
-
addCategory
Add a category.- Parameters:
category- A category.- Returns:
- The Event instance.
-
setClassification
Set the classification.- Parameters:
classification- The specified classification value.- Returns:
- The Event instance.
-
setComment
Set the comment.- Parameters:
comment- The comment.- Returns:
- The Event instance.
-
setDescription
Set the description.- Parameters:
description- The description.- Returns:
- The Event instance.
-
setLocation
Set the location.- Parameters:
location- The location.- Returns:
- The Event instance.
-
setPercentComplete
Set the percent complete value.- Parameters:
percentComplete- The percent complete value.- Returns:
- The Event instance.
-
setPriority
Set a priority.- Parameters:
priority- The priority to be set.- Returns:
- The Event instance.
-
setSummary
Set the summary.- Parameters:
summary- The summary (you can also call it as a title).- Returns:
- The Event instance.
-
setEnd
Set the end of this node.- Parameters:
end- The end time of this event.- Returns:
- The Event instance.
-
setStart
Set the start of this event.- Parameters:
start- The date time specify the start time of this event.- Returns:
- The Event instance.
-
setDuration
Set the duration of this event.- Parameters:
duration- The duration of this event.- Returns:
- The Event instance.
-
setUrl
Set the URL.- Parameters:
url- The URL.- Returns:
- The Event instance.
-
setUid
Set the uid of this event.- Parameters:
uid- The uid.- Returns:
- The Event instance.
-
setDomainName
Set the domain name of this event.- Overrides:
setDomainNamein classCalendarNode- Parameters:
domainName- The domain name.- Returns:
- The Event instance.
-
setTimezone
Set the timezone of this event.- Parameters:
timezone- The time zone to set.- Returns:
- The Event instance.
-
resolve
- Specified by:
resolvein classCalendarNode
-