示例#1
0
文件: WMap.cs 项目: giosil/NetJsonRpc
        public DateTime GetDateTime(string key, DateTime defValue)
        {
            if (map.ContainsKey(key))
            {
                return(WUtil.ToDateTime(map[key], defValue));
            }

            return(defValue);
        }
示例#2
0
文件: WMap.cs 项目: giosil/NetJsonRpc
        public DateTime GetDateTime(string key)
        {
            if (map.ContainsKey(key))
            {
                return(WUtil.ToDateTime(map[key]));
            }

            return(DateTime.MinValue);
        }
示例#3
0
 public DateTime GetDateTime(int index, DateTime defValue)
 {
     return WUtil.ToDateTime(list[index], defValue);
 }
示例#4
0
 public DateTime GetDateTime(int index)
 {
     return WUtil.ToDateTime(list[index]);
 }