コード例 #1
0
        /*! This method checks whether the asset was rolled at the given time. */

        protected bool isOnTime(double t)
        {
            TimeGrid grid = method().timeGrid();

            return(Utils.close(grid[grid.index(t)], time()));
        }