Uses of Class
com.emarsys.ecommon.time.TimeInterval

Packages that use TimeInterval
com.emarsys.ecommon.mail Provides utilities for working with emails. 
com.emarsys.ecommon.time Provides utilities for working with date and time objects. 
 

Uses of TimeInterval in com.emarsys.ecommon.mail
 

Methods in com.emarsys.ecommon.mail with parameters of type TimeInterval
static java.util.Date MessageUtil.getSentOrReceivedOrArrivalDate(javax.mail.Message msg, TimeInterval interval)
           Retrieves a Date that is associated with the passed Message and fits into the passed plausibility TimeInterval.
 

Uses of TimeInterval in com.emarsys.ecommon.time
 

Methods in com.emarsys.ecommon.time that return TimeInterval
 TimeInterval TimeRange.getInterval()
           
 TimeInterval TimeInterval.intersect(TimeInterval that)
           
 TimeInterval TimeRange.intersect(TimeInterval that)
           
 

Methods in com.emarsys.ecommon.time with parameters of type TimeInterval
static java.util.Calendar TimeInterval.getDateIfWithinInterval(java.util.Calendar date, TimeInterval interval)
           Returns the passed Calendar object if the date is within the passed interval, otherwise null.
static java.util.Calendar TimeInterval.getFirstDateWithinInterval(java.util.List<java.util.Calendar> dates, TimeInterval interval)
           Returns the first of the passed dates that is within the passed interval.
 TimeInterval TimeInterval.intersect(TimeInterval that)
           
 TimeInterval TimeRange.intersect(TimeInterval that)
           
 boolean TimeInterval.isOverlapping(TimeInterval that)
           
 boolean TimeRange.isOverlapping(TimeInterval that)
           
 



Copyright © 2010 emarsys AG. All Rights Reserved.