程序包 cn.vorbote.ical

类 Event


public final class Event extends CalendarNode
Event
Created at 2022/9/20 10:38
作者:
vorbote
  • 构造器详细资料

    • Event

      public Event()
  • 方法详细资料

    • addCategories

      public Event addCategories(String... categories)
      Add a batch of categories.
      参数:
      categories - A batch of categories.
      返回:
      The Event instance.
    • addCategories

      public Event addCategories(Collection<String> categories)
      Add a batch of categories.
      参数:
      categories - A batch of categories.
      返回:
      The Event instance.
    • addCategory

      public Event addCategory(String category)
      Add a category.
      参数:
      category - A category.
      返回:
      The Event instance.
    • setClassification

      public Event setClassification(Classification classification)
      Set the classification.
      参数:
      classification - The specified classification value.
      返回:
      The Event instance.
    • setComment

      public Event setComment(String comment)
      Set the comment.
      参数:
      comment - The comment.
      返回:
      The Event instance.
    • setDescription

      public Event setDescription(String description)
      Set the description.
      参数:
      description - The description.
      返回:
      The Event instance.
    • setLocation

      public Event setLocation(String location)
      Set the location.
      参数:
      location - The location.
      返回:
      The Event instance.
    • setPercentComplete

      public Event setPercentComplete(Integer percentComplete)
      Set the percent complete value.
      参数:
      percentComplete - The percent complete value.
      返回:
      The Event instance.
    • setPriority

      public Event setPriority(Integer priority)
      Set a priority.
      参数:
      priority - The priority to be set.
      返回:
      The Event instance.
    • setSummary

      public Event setSummary(String summary)
      Set the summary.
      参数:
      summary - The summary (you can also call it as a title).
      返回:
      The Event instance.
    • setEnd

      public Event setEnd(cn.vorbote.core.time.DateTime end)
      Set the end of this node.
      参数:
      end - The end time of this event.
      返回:
      The Event instance.
    • setStart

      public Event setStart(cn.vorbote.core.time.DateTime start)
      Set the start of this event.
      参数:
      start - The date time specify the start time of this event.
      返回:
      The Event instance.
    • setDuration

      public Event setDuration(cn.vorbote.core.time.TimeSpan duration)
      Set the duration of this event.
      参数:
      duration - The duration of this event.
      返回:
      The Event instance.
    • setUrl

      public Event setUrl(String url)
      Set the URL.
      参数:
      url - The URL.
      返回:
      The Event instance.
    • setUid

      public Event setUid(Long uid)
      Set the uid of this event.
      参数:
      uid - The uid.
      返回:
      The Event instance.
    • setDomainName

      public Event setDomainName(String domainName)
      Set the domain name of this event.
      参数:
      domainName - The domain name.
      返回:
      The Event instance.
    • setTimezone

      public Event setTimezone(ITimezone timezone)
      Set the timezone of this event.
      参数:
      timezone - The time zone to set.
      返回:
      The Event instance.
    • resolve

      public String resolve()
      指定者:
      resolve 在类中 CalendarNode