mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 11:12:22 -05:00
Use 15 minutes interval instead of 30 for FreeBusy data
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@292 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
3684579a07
commit
0281f7bdeb
@ -31,6 +31,8 @@ import java.util.*;
|
|||||||
public class ExchangeSession {
|
public class ExchangeSession {
|
||||||
protected static final Logger LOGGER = Logger.getLogger("davmail.exchange.ExchangeSession");
|
protected static final Logger LOGGER = Logger.getLogger("davmail.exchange.ExchangeSession");
|
||||||
|
|
||||||
|
protected static final SimpleTimeZone GMT_TIMEZONE = new SimpleTimeZone(0, "GMT");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* exchange message properties needed to rebuild mime message
|
* exchange message properties needed to rebuild mime message
|
||||||
*/
|
*/
|
||||||
@ -1259,16 +1261,16 @@ public class ExchangeSession {
|
|||||||
if (attendee.startsWith("mailto:")) {
|
if (attendee.startsWith("mailto:")) {
|
||||||
attendee = attendee.substring("mailto:".length());
|
attendee = attendee.substring("mailto:".length());
|
||||||
}
|
}
|
||||||
int interval = 30;
|
int interval = 15;
|
||||||
|
|
||||||
SimpleDateFormat icalParser = new SimpleDateFormat("yyyyMMdd'T'HHmmss'Z'");
|
SimpleDateFormat icalParser = new SimpleDateFormat("yyyyMMdd'T'HHmmss'Z'");
|
||||||
icalParser.setTimeZone(new SimpleTimeZone(0, "GMT"));
|
icalParser.setTimeZone(GMT_TIMEZONE);
|
||||||
|
|
||||||
SimpleDateFormat shortIcalParser = new SimpleDateFormat("yyyyMMdd");
|
SimpleDateFormat shortIcalParser = new SimpleDateFormat("yyyyMMdd");
|
||||||
shortIcalParser.setTimeZone(new SimpleTimeZone(0, "GMT"));
|
shortIcalParser.setTimeZone(GMT_TIMEZONE);
|
||||||
|
|
||||||
SimpleDateFormat owaFormatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
|
SimpleDateFormat owaFormatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
|
||||||
owaFormatter.setTimeZone(new SimpleTimeZone(0, "GMT"));
|
owaFormatter.setTimeZone(GMT_TIMEZONE);
|
||||||
|
|
||||||
String url;
|
String url;
|
||||||
Date startDate;
|
Date startDate;
|
||||||
|
Loading…
Reference in New Issue
Block a user