protected int toJulian(java.util.Date date){
  YMD ymd=null;
synchronized (gc) {
    gc.setTime(date);
    ymd=new YMD(gc.get(GregorianCalendar.YEAR),gc.get(GregorianCalendar.MONTH) + 1,gc.get(GregorianCalendar.DAY_OF_MONTH));
  }
  return ymd.julian();
}

protected int toJulian ( java . util . Date date ) { YMD ymd = null ; synchronized ( gc ) { gc . setTime ( date ) ; ymd = new YMD ( gc . get ( GregorianCalendar . YEAR ) , gc . get ( GregorianCalendar . MONTH ) + 1 , gc . get ( GregorianCalendar . DAY_OF_MONTH ) ) ; } return ymd . julian ( ) ; }
convert a java date to it ' s julian equivalent .
