public class DateTimePeriodSelector extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<DateTimePeriod> |
last12Months(org.joda.time.DateTimeZone zone)
Create a list of DateTimePeriods that represent the last 12 month periods
based on the current date.
|
static DateTimePeriod |
lastMonth(org.joda.time.DateTimeZone zone) |
static DateTimePeriod |
thisMonth(org.joda.time.DateTimeZone zone) |
public static DateTimePeriod thisMonth(org.joda.time.DateTimeZone zone)
public static DateTimePeriod lastMonth(org.joda.time.DateTimeZone zone)
public static List<DateTimePeriod> last12Months(org.joda.time.DateTimeZone zone)
zone - The time zone used for calculationsCopyright © 2012-2015 Cloudhopper by Twitter. All Rights Reserved.