wieseljonas / java-libpst

Automatically exported from code.google.com/p/java-libpst
1 stars 1 forks source link

How to get Enddate of a recurrence (of a meeting schedule in outlook calendar) #64

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I want to get the end date of a schedule which is recurring.

I used the function getEndDate() with a PSTAppointmentRecurrence object which 
produces a number something like 217170720. I used to convert this number to 
date which produces undesirable dates like "Sat Jan 03 18:19:30 BDT 1970".

My question:
1. is this number produced by getEndDate() a timestamp? I don't think so. Then, 
what is this number?

2. If I am going to a wrong way, could you please show the right way to get end 
date?

Thanks.
Sadi

Original issue reported on code.google.com by sadi.res...@gmail.com on 28 Nov 2012 at 12:42

GoogleCodeExporter commented 9 years ago
Unfortunately I'm not hugely familiar with the calendar stuff, but I'll have a 
go...

I don't think it's a timestamp.  I believe it's more likely to be no of mins, 
see PSTObject.apptTimeToCalendar(int) and see if that gives you something more 
sane.

Original comment by rich...@skimlinks.com on 28 Nov 2012 at 1:40

GoogleCodeExporter commented 9 years ago
Thanks. I will do some RnD and if I get something fruitful, will let you know.

Sadi

Original comment by sadi.res...@gmail.com on 28 Nov 2012 at 1:58