question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question: how to use RecurrenceRuleScribe scribe = new RecurrenceRuleScribe();

See original GitHub issue

@mangstadt thankyou for this library. I am new to android so sorry if my question is really basic. i am trying to use your library to parse RRULE of my ics file, so i looked into FAQ and Wiki, how to use RecurrenceRuleScribe scribe = new RecurrenceRuleScribe(); but when i add this in my code in “mainClass” i get an error

Caused by: java.lang.NoClassDefFoundError: com.github.mangstadt.vinnie.SyntaxStyle
at biweekly.ICalVersion.<clinit>(ICalVersion.java:39)
at biweekly.io.scribe.property.ICalPropertyScribe.<clinit>(ICalPropertyScribe.java:75)

i have already added biweekly-0.6.0.jar in libs and imports in “main class”.

import biweekly.io.scribe.property.RecurrenceRuleScribe;
import biweekly.parameter.ICalParameters;
import biweekly.property.DateEnd;
import biweekly.property.DateStart;
import biweekly.property.DateTimeStamp;
import biweekly.property.RecurrenceRule;

i have already get the Start Date , End Date and RRULE:FREQ=MONTHLY;BYDAY=FR;BYMONTHDAY=13 just need to parse this RRULE to get all the events … It would be really appreciated If you could please guide me how i can parse this RRULE

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mangstadtcommented, Jan 22, 2017

You must also have the “vinnie” library on your classpath.

You can get the vinnie library by going to the Downloads page and clicking on the “JAR with Dependencies” link.

0reactions
Kashif2016commented, Jan 30, 2017

i have found a solution in one of your closed issue #47 now i am able to display all the recurring events. Thanks for the library

Read more comments on GitHub >

github_iconTop Results From Across the Web

mangstadt/biweekly - Gitter
One more question - if I wanted to use Biweekly to parse solely an RRULE ... RecurrenceRuleScribe scribe = new RecurrenceRuleScribe(); ParseContext pc...
Read more >
How to parse an iCal RRULE in Java [closed] - Stack Overflow
V2_0); RecurrenceRuleScribe scribe = new RecurrenceRuleScribe(); RecurrenceRule rrule = scribe.parseText(iCalFilterMap.get(iCalFilterConstant.
Read more >
A java implementation of RFC 2445 recurrence rules - kandi
Permissive licenses have the least restrictions, and you can use them in most projects. ... V2_0); RecurrenceRuleScribe scribe = new RecurrenceRuleScribe(); ...
Read more >
How to parse an iCal RRULE in Java - Anycodings.com
isInfinite() || maxInstances-- > 0)) { DateTime nextInstance = it. ... V2_0); RecurrenceRuleScribe scribe = new RecurrenceRuleScribe(); ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found