本文整理汇总了Java中org.joda.time.field.OffsetDateTimeField类的典型用法代码示例。如果您正苦于以下问题:Java OffsetDateTimeField类的具体用法?Java OffsetDateTimeField怎么用?Java OffsetDateTimeField使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
OffsetDateTimeField类属于org.joda.time.field包,在下文中一共展示了OffsetDateTimeField类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getField
import org.joda.time.field.OffsetDateTimeField; //导入依赖的package包/类
@Override
public DateTimeField getField(Chronology chronology) {
return new OffsetDateTimeField(new DividedDateTimeField(new OffsetDateTimeField(chronology.monthOfYear(), -1), QuarterOfYear, 3), 1);
}
示例2: getField
import org.joda.time.field.OffsetDateTimeField; //导入依赖的package包/类
@Override
public DateTimeField getField(Chronology chronology)
{
return new OffsetDateTimeField(new DividedDateTimeField(new OffsetDateTimeField(chronology.monthOfYear(), -1), QUARTER_OF_YEAR, 3), 1);
}
示例3: getField
import org.joda.time.field.OffsetDateTimeField; //导入依赖的package包/类
public DateTimeField getField(Chronology chronology) {
return new OffsetDateTimeField(new DividedDateTimeField(new OffsetDateTimeField(chronology.monthOfYear(), -1), QuarterOfYear, 3), 1);
}
示例4: getField
import org.joda.time.field.OffsetDateTimeField; //导入依赖的package包/类
public DateTimeField getField(Chronology chronology) {
return new OffsetDateTimeField(new DividedDateTimeField(new OffsetDateTimeField(chronology.monthOfYear(), -1), QuarterOfYear, 3), 1);
}