Example usage for org.joda.time Months SIX

List of usage examples for org.joda.time Months SIX

Introduction

In this page you can find the example usage for org.joda.time Months SIX.

Prototype

Months SIX

To view the source code for org.joda.time Months SIX.

Click Source Link

Document

Constant representing six months.

Usage

From source file:fr.aliacom.obm.common.calendar.CalendarBindingImpl.java

License:Open Source License

private SyncRange defaultSyncRange(Date date) {
    return new SyncRange(new org.joda.time.DateTime(date).plus(Months.SIX).toDate(),
            new org.joda.time.DateTime(date).minus(Months.THREE).toDate());
}

From source file:org.zkoss.ganttz.timetracker.zoom.DetailOneTimeTrackerState.java

License:Open Source License

@Override
protected ReadablePeriod getPeriodSecondLevel() {
    return Months.SIX;
}