/** * Creates a time period that includes the specified millisecond, assuming * the given time zone. * * @param millisecond the time. * @param zone the time zone. * * @return The time period. * * @deprecated As of 1.0.13, use the method that specifies the locale also. */ public RegularTimePeriod createInstance(Date millisecond, TimeZone zone) { return createInstance(millisecond, zone, Locale.getDefault()); }
RegularTimePeriod p1 = this.labelInfo[band].createInstance( new Date(axisMin), this.timeZone, this.locale); RegularTimePeriod p2 = this.labelInfo[band].createInstance( new Date(axisMax), this.timeZone, this.locale); DateFormat df = this.labelInfo[band].getDateFormat(); int periods = (int) (ww / length) + 1; RegularTimePeriod p = this.labelInfo[band].createInstance( new Date(axisMin), this.timeZone, this.locale); Rectangle2D b = null;
RegularTimePeriod p1 = this.labelInfo[band].createInstance( new Date(axisMin), this.timeZone, this.locale); RegularTimePeriod p2 = this.labelInfo[band].createInstance( new Date(axisMax), this.timeZone, this.locale); String label1 = this.labelInfo[band].getDateFormat().format( int periods = (int) (ww / length) + 1; RegularTimePeriod p = this.labelInfo[band].createInstance( new Date(axisMin), this.timeZone, this.locale); Rectangle2D b = null;