Java Code Examples for org.joda.time.Chronology#months()
The following examples show how to use
org.joda.time.Chronology#months() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: QuarterOfYearDateTimeField.java From presto with Apache License 2.0 | 4 votes |
@Override public DurationField getField(Chronology chronology) { return new ScaledDurationField(chronology.months(), QUARTER_OF_YEAR_DURATION_FIELD_TYPE, 3); }
Example 2
Source File: DateTruncTransformFunction.java From incubator-pinot with Apache License 2.0 | 4 votes |
@Override public DurationField getField(Chronology chronology) { return new ScaledDurationField(chronology.months(), QUARTER_OF_YEAR_DURATION_FIELD_TYPE, 3); }
Example 3
Source File: Joda.java From crate with Apache License 2.0 | 4 votes |
@Override public DurationField getField(Chronology chronology) { return new ScaledDurationField(chronology.months(), QUARTERS, 3); }