/** * Constructor. * * @param field the field to wrap, like "year()". * @param offset offset to add to field values * @throws IllegalArgumentException if offset is zero */ public OffsetDateTimeField(DateTimeField field, int offset) { this( field, (field == null ? null : field.getType()), offset, Integer.MIN_VALUE, Integer.MAX_VALUE); }