double dOffset = ( dUnitSize / (double) ( l2 - l1 ) ) * (double) ( l - l1 );
double dOffset = ( dUnitSize / ( l2 - l1 ) ) * ( l - l1 );
	static final double getDateLocation( AutoScale sc, CDateTime cdtValue )	{		double[] da = sc.getTickCordinates( );		CDateTime cdt = asDateTime( sc.getMinimum( ) ), cdtPrev = null;		int iUnit = asInteger( sc.getUnit( ) );		int iStep = asInteger( sc.getStep( ) );		for ( int i = 0; i < da.length; i++ )		{			if ( cdt.after( cdtValue ) )			{				if ( cdtPrev == null )				{					return da[i];				}				/*				 * SimpleDateFormat sdf = new SimpleDateFormat("MM-dd-yyyy				 * HH:mm:ss"); String sMin = sdf.format(cdtPrev.getTime());				 * String sMax = sdf.format(cdt.getTime()); String sVal =				 * sdf.format(cdtValue.getTime());				 */				long l1 = cdtPrev.getTimeInMillis( );				long l2 = cdt.getTimeInMillis( );				long l = cdtValue.getTimeInMillis( );				double dUnitSize = da[i] - da[i - 1];				double dOffset = ( dUnitSize / (double) ( l2 - l1 ) )						* (double) ( l - l1 );				return da[i - 1] + dOffset;			}			cdtPrev = cdt;			cdt = cdt.forward( iUnit, iStep );		}		return da[da.length - 1];	}