public static void AddDate(this Criteria criteria, string name, string date) { criteria.AddInt(name, IntDate.ToInt(date)); }