calendar error

Eli Heller6 years ago

Hi.
I get an error for geofence events because of the calendar file Range start must be before range end - IllegalArgumentException (... < Calendar:74 < GeofenceEventHandler:64 < BaseEventHandler:28 < ...) what is wrong with the calendar file?

BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Eastern Standard Time
BEGIN:STANDARD
DTSTART:16011104T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010311T020000
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID="Eastern Standard Time":20171101T090000
DTEND;TZID="Eastern Standard Time":20171101T010000
DTSTAMP:20171124T175103Z
UID:5b44d743c94ef
RRULE:FREQ=WEEKLY;BYDAY=SU
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID="Eastern Standard Time":20171101T080000
DTEND;TZID="Eastern Standard Time":20171101T110000
DTSTAMP:20171124T175103Z
UID:5b44d743c952c
RRULE:FREQ=WEEKLY;BYDAY=MO,TU,WE,TH
END:VEVENT
BEGIN:VEVENT
DTSTART;TZID="Eastern Standard Time":20171101T080000
DTEND;TZID="Eastern Standard Time":20171101T100000
DTSTAMP:20171124T175103Z
UID:5b44d743c9568
RRULE:FREQ=WEEKLY;BYDAY=FR
END:VEVENT
END:VCALENDAR
Anton Tananaev6 years ago

I think error is pretty self-explanatory:

Range start must be before range end
Eli Heller6 years ago

if you don't mind please point me to which range start is the wrong one?

Anton Tananaev6 years ago

At least this one:

DTSTART;TZID="Eastern Standard Time":20171101T090000
DTEND;TZID="Eastern Standard Time":20171101T010000

End is before start.

Eli Heller6 years ago

Thanks for giving away from your time to help people! u r the nicest!!!

Hello, I do not see the calendar on my server Traccar, can you help me please ...