(creationMillis - nowMillis) / (1000 * 60 * 60 * 24 * 365);
((nowMillis - creationMillis) / (1000L * 60 * 60 * 24 * 365));
    public long getBookValue() {	GameTime now = (GameTime) world.get(ITEM.TIME, Player.AUTHORITATIVE);	long nowMillis = calendar.getCalendar(now).getTimeInMillis();	long creationMillis = calendar.getCalendar	    (trainModel.getCreationDate()).getTimeInMillis();	/* assume years are 365 days long for simplicity */	int elapsedYears = (int) 	    (creationMillis - nowMillis) / (1000 * 60 * 60 * 24 * 365);	long initialPrice = ((EngineType)		    world.get(KEY.ENGINE_TYPES, trainModel.getEngineType(),			Player.AUTHORITATIVE)).getPrice();	if (elapsedYears >= 25) {	    return (long) (initialPrice * 0.10);	}	return (long) (initialPrice * (0.90 - (elapsedYears * 0.8 / 25)));    }