code: public static long long_from_julian( String s ) throws jsqlite.Exception {
          try {
              double d = Double.valueOf(s).doubleValue();
              return long_from_julian(d);
          } catch (java.lang.Exception ee) {
              throw new jsqlite.Exception("not a julian date: " + s + ": " + ee);
          }
      }
docs: Make long value from julian date for java.lang.Date
  
  @param s string (double value) (julian date in SQLite3 format)
  @return long