摘要: //正则表达式数字验证 public boolean isNumber(String str) { java.util.regex.Pattern pattern=java.util.regex.Pattern.compile("[0-9]*"); java.util.regex.Matcher match=pattern.matcher(str); if(match.matches()==false) { return false; } else { return true; } }本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/zzys5 阅读全文
posted @ 2010-12-20 13:19 暗夜螃蟹 阅读(407) 评论(0) 推荐(0)
摘要: package com.***.common.util;import java.sql.Timestamp;import java.text.ParsePosition;import java.text.SimpleDateFormat;import java.util.Date;import com.ttsoft.framework.util.DateUtil;/*** Title:时间获取* Description:当前时间* Copyright: Copyright 2010* Company:* @author jiq* @version 1.0*/public class XJPDa 阅读全文
posted @ 2010-09-28 17:23 暗夜螃蟹 阅读(323) 评论(0) 推荐(0)
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb23 阅读全文
posted @ 2010-09-08 18:31 暗夜螃蟹 阅读(113) 评论(0) 推荐(0)