/** * Creates a new unit. * * @param unit the unit. * @param count the count. * @param rollUnit the roll unit. * @param rollCount the roll count. * @param formatter the date formatter (defaults to DateFormat.SHORT). * * @deprecated As of version 1.0.13, use {@link #DateTickUnit( * DateTickUnitType, int, DateTickUnitType, int, DateFormat)}. */ public DateTickUnit(int unit, int count, int rollUnit, int rollCount, DateFormat formatter) { this(intToUnitType(unit), count, intToUnitType(rollUnit), rollCount, notNull(formatter)); }