using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Web;namespace ZC.Utils{ public partial ...
分类:
Web程序 时间:
2015-07-18 13:58:14
阅读次数:
109
using System.Text;using System.Text.RegularExpressions;namespace ZC.Utils{ public class ValidateHelper { private static Regex RegNumber = new Regex("^...
分类:
Web程序 时间:
2015-07-18 13:58:14
阅读次数:
180
using System;using System.Globalization;using System.Text.RegularExpressions;namespace ZC.Utils{ public partial class DateTimeHelper { public static s...
分类:
Web程序 时间:
2015-07-18 13:53:20
阅读次数:
134
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Text.RegularExpressions;namespace ZC.Common{ public cla...
分类:
其他好文 时间:
2015-07-18 13:53:16
阅读次数:
91
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ZC.Common{ public class RegexPattern { //电话或手机号码 public st...
分类:
其他好文 时间:
2015-07-18 13:49:33
阅读次数:
95
由于火星坐标问题,所以需要判断一下经纬度是否在中国。基本思路是:把整个行政区域划分为几个小的矩形,然后再排除掉一些矩形区域。只要一个点在限定的区域内,并且不在排除的区域内,则判定成功,否则失败。下图中蓝色区域为限定区域,红色区域为排除区域。这种快速判定的方法是从Nokia map中挖掘出来的。优点:快速,相对准确;缺点:边界误差较大源码下载:https://github.com/zcsoft/ZC...
分类:
移动开发 时间:
2015-05-13 14:49:53
阅读次数:
306
http://blog.csdn.net/sandy_zc_1/article/details/6529304CSDN Blog上sandy_zc_1的一篇博文,解答了我关于list迭代器和vector,deque迭代器的困惑,受教!
分类:
其他好文 时间:
2015-04-21 17:30:29
阅读次数:
110
在UIWebView显示本地图片,由此可借助UIWebView实现图文混排(内容编码成html格式即可)。
// ViewController.m
//
// Created by zc on 8/1/14.
// Copyright (c) 2014 cuibo. All rights reserved.
//
#import "ViewController.h"
...
分类:
Web程序 时间:
2015-04-13 16:40:21
阅读次数:
149
ZipClass zc=new ZipClass ();zc.ZipDir(@"E:\1\新建文件夹", @"E:\1\新建文件夹.zip", 1);//压缩zc.UnZip(@"E:\1\新建文件夹.zip",@"E:\1\2222");//解压 cs 1 class ZipClass 2 { ....
分类:
其他好文 时间:
2015-03-07 22:41:46
阅读次数:
227
参考:http://www.tuicool.com/articles/iENjuy 其实就是按照demo写了下来package com.zc.trafficjam;import android.os.Bundle;import android.support.v4.app.Fragment;impo...
分类:
其他好文 时间:
2015-02-24 23:25:57
阅读次数:
270