congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
BwEvent.getDuration
Code IndexAdd Tabnine to your IDE (free)

How to use
getDuration
method
in
org.bedework.calfacade.BwEvent

Best Java code snippets using org.bedework.calfacade.BwEvent.getDuration (Showing top 16 results out of 315)

origin: org.bedework.caleng/bw-calendar-engine-facade

public String getDuration() {
 return entity.getDuration();
}
origin: org.bedework.caleng/bw-calendar-engine-facade

/** Return a BwDuration populated from the String duration.
 *
 * @return BwDuration
 * @throws CalFacadeException
 */
@NoProxy
public BwDuration makeDurationBean() throws CalFacadeException {
 return BwDuration.makeDuration(getDuration());
}
origin: org.bedework.caleng/bw-calendar-engine-facade

public String getDuration() {
 String val = ref.getDuration();
 if (val != null) {
  return val;
 }
 if (ref.getEmptyFlag(ProxiedFieldIndex.pfiDuration)) {
  return null;
 }
 return getTarget().getDuration();
}
origin: org.bedework.caleng/bw-calendar-engine-facade

public BwDuration makeDurationBean() throws CalFacadeException {
 String duration = ref.getDuration();
 if (duration == null) {
  duration = getTarget().getDuration();
 }
 return BwDuration.makeDuration(duration);
}
origin: org.bedework.caleng/bw-calendar-engine-facade

if (ev.getDuration() != null && !ev.getDuration().isEmpty()) {
 ChangedPropertyType dur = new ChangedPropertyType();
 dur.setName(PropertyInfoIndex.DURATION.name());
 dur.setDataFrom(ev.getDuration());
 dd.getDeletedProps().add(dur);
origin: org.bedework.caleng/bw-calendar-engine-ical

/** Generate a recurrence instance for the given master event
 * based on the recurrenceId and the date/time info in the master.
 *
 * @param master event
 * @param recurrenceId for the instance.
 * @return instance object filled in.
 * @throws CalFacadeException
 */
public static BwRecurrenceInstance fromRecurrencId(final BwEvent master,
                          String recurrenceId)
    throws CalFacadeException {
 final String stzid = master.getDtstart().getTzid();
 final boolean dateOnly = master.getDtstart().getDateType();
 final BwDateTime rstart = BwDateTime.makeBwDateTime(dateOnly,
                           recurrenceId,
                           stzid);
 final BwDateTime rend = rstart.addDuration(
     BwDuration.makeDuration(master.getDuration()));
 final BwRecurrenceInstance ri = new BwRecurrenceInstance();
 ri.setDtstart(rstart);
 ri.setDtend(rend);
 ri.setRecurrenceId(ri.getDtstart().getDate());
 ri.setMaster(master);
 return ri;
}
origin: org.bedework.caleng/bw-calendar-engine-ical

if (!durVal.equals(ev.getDuration())) {
 chg.changed(PropertyInfoIndex.DURATION, ev.getDuration(), durVal);
 ev.setDuration(durVal);
if (!durVal.equals(ev.getDuration())) {
 chg.changed(PropertyInfoIndex.DURATION, ev.getDuration(), durVal);
 ev.setDuration(durVal);
origin: org.bedework.caleng/bw-calendar-engine-ical

DurationPropType dur = new DurationPropType();
dur.setDuration(val.getDuration());
pl.add(of.createDuration(dur));
origin: org.bedework.caleng/bw-calendar-engine-facade

ann.setDtend(end);
ann.setDuration(ev.getDuration());
ann.setEndType(ev.getEndType());
ann.setCreatorHref(ev.getCreatorHref());
origin: org.bedework.caleng/bw-calendar-engine-ical

 final Duration duration = new Duration(null, ev.getDuration());
 rp.rangeEnd = getLatestRecurrenceDate(evprops, start, end,
                    duration,
} else {
 Dur evdur = new Dur(ev.getDuration());
 Dur setback = evdur.add(new Dur(1, 0, 0, 0)); // Ensure at least a day
origin: org.bedework.caleng/bw-calendar-engine-facade

res.setDuration(getDuration());
res.setEndType(getEndType());
res.setTransparency(getTransparency());
origin: org.bedework.caleng/bw-calendar-engine-ical

Duration duration = new Duration(null, ev.getDuration());
origin: org.bedework.caleng/bw-calendar-engine-facade

/**
 * @return a copy suitable for tombstoning.
 */
@NoProxy
public BwEvent cloneTombstone() {
 final BwEvent ev = new BwEventObj();
 super.copyTo(ev);
 ev.setEntityType(getEntityType());
 ev.setName(getName());
 ev.setDtstart(getDtstart());
 ev.setDtend(getDtend());
 ev.setEndType(getEndType());
 ev.setDuration(getDuration());
 ev.setNoStart(getNoStart());
 ev.setDeleted(getDeleted());
 ev.setDtstamp(getDtstamp());
 ev.setLastmod(getLastmod());
 ev.setCreated(getCreated());
 ev.setStag(getStag());
 ev.setUid(getUid());
 ev.setRecurring(false);
 ev.setTombstoned(true);
 //ev.setDtstamps();
 return ev;
}
origin: org.bedework.caleng/bw-calendar-engine-ical

addProperty(comp, new Duration(new Dur(val.getDuration())));
origin: org.bedework.caleng/bw-calendar-engine-facade

return stringMatch(ev.getDuration(), val);
origin: org.bedework.caleng/bw-calendar-engine-facade

ev.setDtend(getDtend());
ev.setEndType(getEndType());
ev.setDuration(getDuration());
ev.setNoStart(getNoStart());
org.bedework.calfacadeBwEventgetDuration

Popular methods of BwEvent

  • addAttendee
  • addAvailableUid
    Add as available uid
  • addCategory
  • addComment
  • addContact
  • addFreeBusyPeriod
    Add a free/busy component
  • addPollItem
    Add vpoll item
  • addRdate
  • addVvoter
    Add vpoll vvoter
  • clearPollItems
    Clear the vpoll items
  • clearVvoters
    Clear the vpoll voters
  • compare
  • clearVvoters,
  • compare,
  • findDescription,
  • findSummary,
  • getAlarms,
  • getAttachments,
  • getAttendees,
  • getBusyType,
  • getCategories,
  • getClassification

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JCheckBox (javax.swing)
  • Runner (org.openjdk.jmh.runner)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now