摘要: public class DateUtil { public static String parseStr(String str) { String sDate = ""; SimpleDateFormat sdf1 = new SimpleDateFormat ("EEE MMM dd HH:mm 阅读全文
posted @ 2018-11-18 22:02 一心二念 阅读(7654) 评论(0) 推荐(1) 编辑
摘要: ppublic class StringUtils { private StringUtils() { } /** * 文本左边补零 * * @param maxLength 文本长度 * @param str * @return */ public static String leftCoverF 阅读全文
posted @ 2018-11-18 20:06 一心二念 阅读(481) 评论(0) 推荐(0) 编辑
摘要: public class MailUtils implements Runnable{ final String sendEmail = "www.123.com"; final String emailUser = "www.123456.com"; final String emailPassw 阅读全文
posted @ 2018-11-18 19:16 一心二念 阅读(277) 评论(0) 推荐(0) 编辑
摘要: public class HttpClient { private CloseableHttpClient httpClient; public HttpClient() { this.httpClient = HttpClients.createDefault(); } /** * 带参数的get 阅读全文
posted @ 2018-11-18 18:52 一心二念 阅读(745) 评论(0) 推荐(0) 编辑
摘要: import java.math.BigDecimal;/** *金额元分之间转换工具类 */public class AmountUtils { /**金额为分的格式 */ public static final String CURRENCY_FEN_REGEX = "^(([1-9]{1}\\ 阅读全文
posted @ 2018-11-18 18:33 一心二念 阅读(615) 评论(0) 推荐(0) 编辑