Azavea.Open.DAO.Util.CachingDataReader.GetDateTime C# (CSharp) Method

GetDateTime() public method

Gets the date and time data value of the specified field.
The index passed was outside the range of 0 through .
public GetDateTime ( int i ) : System.DateTime
i int The index of the field to find.
return System.DateTime
        public virtual DateTime GetDateTime(int i)
        {
            if ((i < 0) || (i >= _numCols))
            {
                throw new ArgumentOutOfRangeException("i", "Column index must be >= 0 and < " + _numCols + ".");
            }
            return Convert.ToDateTime(GetCachedValue(i));
        }