Questions tagged [biweekly]

biweekly is an iCalendar library written in Java.

https://github.com/mangstadt/biweekly

11 questions
2
votes
3 answers

make 'week' function biweek

Hi all this should be a straightforward question, I just can't seem to figure it out. I would like to break up this data set biweekly in order to look at the annual cycle in 2 week intervals. I do not want to summarize or aggregate the data. I would…
Devin Mendez
  • 101
  • 8
1
vote
0 answers

Biweekly/google-rfc-2445 RRule different behaviour based on start date

Different behaviour of RRULE based on start time : Hi, I am currently trying to write a cron to rrule convertor and encountered some issues with some particular rules. For the following rule :…
1
vote
2 answers

Weekly Period Column For Each Month in Power BI

I have a date table with a date column. I would like to have a weekly period for each month. So far, I have built a custom column such that each period starts on Monday and ends on Sunday: let startOfWeek =…
Hassi
  • 73
  • 7
1
vote
2 answers

Using Sardines report method to query events from CalDAV server

I'm trying to fetch events from a CalDAV server using Sardine (and biweekly). Fetching an entire calendar is working for me: Sardine sardine = SardineFactory.begin(); InputStream is = sardine.get(CALDAV_URL_STRING); ICalendar iCalendar =…
Jasper de Vries
  • 19,370
  • 6
  • 64
  • 102
1
vote
2 answers

Add multiple events to ical with biweekly

I have the following method that uses biweekly to create and ics string: public String createICalendarString(List iCalendarEventVos, String locale, String timeZoneCanonicalId) throws IOException { String icsLocale =…
testing123
  • 11,367
  • 10
  • 47
  • 61
0
votes
0 answers

Android Java : Save a file created by app to download folder

i created a ical file with biweekly. I can write it to /Android/data/applicationfolder/files/Download with the following code: File file = new File(getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS), "Spiele.ics"); if (file.exists ()) …
Philipe
  • 33
  • 1
  • 5
0
votes
0 answers

How to calculate in previous week how many sessions market open

I am trying to calculate offset for next trading week Problem my market open 5 day in week Problem starting when holiday in market my offset calcution goes wrong I want when previous week only 3 trading session and next week 5 trading session my…
0
votes
1 answer

BiWeekly Iterating over daylight savings change

I am trying to iterate an event across a daylight savings change with the Java BiWeekly library. Say the event starts at 8am, I want it to stay at 8am regardless of whether daylight savings is in effect or not. The following code is from the…
cfnz
  • 196
  • 3
  • 14
0
votes
1 answer

Javamail biweekly gmail calendar invite coming as ICS file

I am trying to send a calender invite to a gmail address. I am using Spring, biweekly and javamail library. The invite is sent but in gmail it does not come in as an calendar but i get an email with subject "You're Invited to a Meeting". It has an…
Gaurav Sharma
  • 75
  • 1
  • 5
0
votes
1 answer

Cancel and create VEVENTS in the same VCALENDAR, is it possible?

For example if a user canceled one event and created new one can I send both changes in a single *.ics file? Cancel (not update) first event and create a new event?
Anatoly
  • 5,056
  • 9
  • 62
  • 136
-1
votes
2 answers

How to set the Timezone for iCalendar in Java?

I have the following code that uses biweekly library in order to create an ical for an event in my Java application. The ical is sent as expected with the email but it is always in GMT, I am currently trying to set it to be "America/New_York" as…
java12399900
  • 1,485
  • 7
  • 26
  • 56