随笔分类 - java
摘要:import com.google.common.collect.MapDifference;import com.google.common.collect.Maps;import java.util.Map;public class MapUtil { /** * difference * Ma
阅读全文
摘要:1.官方文档:http://jxls.sourceforge.net/reference/reader.html 2.demo git地址:https://bitbucket.org/leonate/jxls-demo 3.maven添加 <dependency> <groupId>org.jxls
阅读全文
摘要:package com.ipmotor.sm.db;import java.util.LinkedList;import java.util.Queue;import java.util.Stack;/** * 测试jdk中的栈和队列 * @author scott * */public class
阅读全文
摘要:Calendar中月份month得取值是从0开始,到11,对应着日历中的1-12月。所以在用此取月份的话,需要在原有基础上加1.
阅读全文
摘要:输出结果: 年: 2012月: 1日: 13时: 17分: 28秒: 19当前时间毫秒数:1326446899902Fri Jan 13 17:28:19 CST 2012Fri Jan 13 17:28:19 CST 2012格式化后的日期:2012-01-13 17:28:19字符串转成日期:F
阅读全文
摘要:* 英文简写(默认)如:2010-12-01 */ public static String FORMAT_SHORT = "yyyy-MM-dd"; /** * 英文全称 如:2010-12-01 23:15:06 */ public static String FORMAT_LONG = "yy
阅读全文

浙公网安备 33010602011771号