Class CalendarNode

java.lang.Object
cn.vorbote.ical.CalendarNode
Direct Known Subclasses:
Event

public abstract sealed class CalendarNode extends Object permits Event
CalendarNode
Created at 2022/9/20 10:40
Author:
vorbote
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected List<String>
    Categories, is used to specify categories or subtypes of the calendar component.
    protected Classification
    Classification, An access classification is only one component of the general security system within a calendar application.
    protected String
    Comment, is used to specify a comment to the calendar user.
    protected String
    Description is used in the Event and to-do to capture lengthy extual descriptions associated with the activity.
    protected String
     
    protected TimeSpan
    Duration may be used to specify a duration of the event, instead of an explicit end DATE-TIME.
    protected DateTime
    End defines the date and time by which the event ends.
    protected String
    Location, Specific venues such as conference or meeting rooms may be explicitly specified using this property.
    protected Integer
    Percent Complete, is a positive integer between 0 and 100.
    protected Integer
    Priority, is specified as an integer in the range 0 to 9.
    protected DateTime
    Start defines the start date and time for the event.
    protected String
    Summary, is used to capture a short, one-line summary about the activity or journal entry.
    protected ITimezone
     
    protected Long
     
    protected String
    URL may be used in a calendar component to convey a location where a more dynamic rendition of the calendar information associated with the calendar component can be found.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract String
     
    protected String
     
    setDomainName(String domainName)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • categories

      protected List<String> categories

      Categories, is used to specify categories or subtypes of the calendar component. The categories are useful in searching for a calendar component of a particular type and category.

      Template:
      CATEGORIES:APPOINTMENT,EDUCATION
      CATEGORIES:MEETING

      Referenced from RFC-5545 - 3.8.1.2. Categories

    • classification

      protected Classification classification

      Classification, An access classification is only one component of the general security system within a calendar application. It provides a method of capturing the scope of the access the calendar owner intends for information within an individual calendar entry.

      Template:
      CLASS:protected

      Referenced from RFC-5545 - 3.8.1.3. Classification

    • comment

      protected String comment

      Comment, is used to specify a comment to the calendar user.

      Template:
       COMMENT:The meeting really needs to include both ourselves
       and the customer. We can't hold this meeting without them.
       As a matter of fact\, the venue for the meeting ought to be at
       their site. - - John
       

      Referenced from RFC-5545 - 3.8.1.4. Comment

    • description

      protected String description

      Description is used in the Event and to-do to capture lengthy extual descriptions associated with the activity.

      Description is used in the Journal calendar component to capture one or more textual journal entries.

      Description is used in the Alarm calendar component to capture the display text for a DISPLAY category of alarm, and to capture the body text for an EMAIL category of alarm.

      Template:
       DESCRIPTION:Meeting to provide technical review for "Phoenix"
       design.\nHappy Face Conference Room. Phoenix design team
       MUST attend this meeting.\nRSVP to team leader.
       

      Referenced from RFC-5545 - 3.8.1.5. Description

    • location

      protected String location

      Location, Specific venues such as conference or meeting rooms may be explicitly specified using this property.

      Note
      This location has not implement the URI of the location.

      Template:
      LOCATION:Conference Room - F123\, Bldg. 002
      LOCATION;ALTREP="http://xyzcorp.com/conf-rooms/f123.vcf":
            Conference Room - F123\, Bldg. 002

      Referenced from RFC-5545 - 3.8.1.7. Location

    • percentComplete

      protected Integer percentComplete

      Percent Complete, is a positive integer between 0 and 100. A value of "0" indicates the to-do has not yet been started. A value of "100" indicates that the to-do has been completed. Integer values in between indicate the percent partially complete.

      Template:
      PERCENT-COMPLETE:39

      Referenced from RFC-5545 - 3.8.1.8. Percent Complete

    • priority

      protected Integer priority

      Priority, is specified as an integer in the range 0 to 9. A value of 0 specifies an undefined priority. A value of 1 is the highest priority. A value of 2 is the second-highest priority. Subsequent numbers specify a decreasing ordinal priority. A value of 9 is the lowest priority.

      Example:
      • The following is an example of a property with the highest priority:
        PRIORITY:1
      • The following is an example of a property with a next highest priority:
        PRIORITY:2
    • summary

      protected String summary

      Summary, is used to capture a short, one-line summary about the activity or journal entry.

      Example:
      SUMMARY:Department Party
    • end

      protected DateTime end
      End defines the date and time by which the event ends. Example:
      DTEND:19960401T150000Z
      DTEND;VALUE=DATE:19980704
    • start

      protected DateTime start
      Start defines the start date and time for the event. Example:
      DTSTART:19980118T073000Z
      DTSTART;VALUE=DATE:19980118
    • duration

      protected TimeSpan duration
      Duration may be used to specify a duration of the event, instead of an explicit end DATE-TIME. Example:
      DURATION:PT100000S
    • url

      protected String url
      URL may be used in a calendar component to convey a location where a more dynamic rendition of the calendar information associated with the calendar component can be found. Example:
      URL:http://example.com/pub/calendars/jsmith/mytime.ics
    • uid

      protected Long uid
    • domainName

      protected String domainName
    • timezone

      protected ITimezone timezone
  • Constructor Details

    • CalendarNode

      protected CalendarNode()
  • Method Details

    • setDomainName

      public CalendarNode setDomainName(String domainName)
    • resolveCategories

      protected String resolveCategories()
    • resolve

      public abstract String resolve()