Package org.ical4j.template.vevent
Class Observance
- java.lang.Object
-
- org.ical4j.template.AbstractCalendarTemplate<net.fortuna.ical4j.model.component.VEvent>
-
- org.ical4j.template.vevent.Observance
-
- All Implemented Interfaces:
FluentCalendarTemplate<net.fortuna.ical4j.model.component.VEvent>
public class Observance extends AbstractCalendarTemplate<net.fortuna.ical4j.model.component.VEvent>
Creates an (optionally recurring) date-basedVEvent
representing a public holiday or other observance. Includes observances from UN International Days.
-
-
Constructor Summary
Constructors Constructor Description Observance(String summary, String url, LocalDate... dates)
Observance(String summary, LocalDate... dates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Observance
date(LocalDate date)
<T extends AbstractCalendarTemplate<net.fortuna.ical4j.model.component.VEvent>>
TgetFluentTarget()
Observance
repeats(Repeats<LocalDate> repeats)
Observance
title(String title)
-
Methods inherited from class org.ical4j.template.AbstractCalendarTemplate
getRevisions, toCalendar, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ical4j.template.FluentCalendarTemplate
withRevision
-
-
-
-
Method Detail
-
getFluentTarget
public <T extends AbstractCalendarTemplate<net.fortuna.ical4j.model.component.VEvent>> T getFluentTarget()
-
title
public Observance title(String title)
-
date
public Observance date(LocalDate date)
-
repeats
public Observance repeats(Repeats<LocalDate> repeats)
-
-