public class Week extends FixedDurationPeriod
Constructor and Description |
---|
Week() |
Modifier and Type | Method and Description |
---|---|
Interval |
getInterval(java.util.Date date,
java.util.Locale locale) |
protected java.util.Calendar |
getStartOfWeek(java.util.Date date,
java.util.Locale locale)
Compute start of the week (Calendar.MONDAY in this implementation)
|
getNextInterval
public Interval getInterval(java.util.Date date, java.util.Locale locale)
getInterval
in class FixedDurationPeriod
protected java.util.Calendar getStartOfWeek(java.util.Date date, java.util.Locale locale)
date
- the date inside the weeklocale
- the current Locale
Calendar
of the first day of the weekCopyright © 2001-2010 Jalios SA. All Rights Reserved.