def METHOD_NAME(self, stride_type):
    """
    Description: return stride_type=CUDF_TIMEDELTA_TYPE if self.y_dtype is
            of type datetime else return stride_type
    """
    return dt.transform_stride_type(stride_type, self.y_dtype)