static public double GetJNowForFutureTime(double delta) { try { if (syncToClock) { Date future = new Date(Now.GetTime() + (int)(delta * 1000 * timeRate)); return(UtcToJulian(future)); } else { return(UtcToJulian(Now)); } } catch { return(UtcToJulian(Now)); } }
static public Date GetTimeForFutureTime(double delta) { try { if (syncToClock) { Date future = new Date((int)((int)Now.GetTime() + (delta * 1000) * timeRate)); return(future); } else { return(Now); } } catch { return(Now); } }