摘要: 声明utf-8:1 public static String CHARSET_UTF8 = HTTP.UTF_8;eg:登陆请求方法,通过接口返回结果:1 public static void login(String username, String password, ResponseCallb... 阅读全文
posted @ 2015-12-30 15:29 晕菜一员 阅读(5691) 评论(0) 推荐(0) 编辑
摘要: 初始化 SimpleDateFormat 格式以及 时区: 针对不同时间格式,首先可以先初始化好所有格式: 之后就可以尝试转换成Date对象: 代码: 1 public class DateUtils { 2 3 /** 4 * 1 Day in Millis 5 */ 6 public stati 阅读全文
posted @ 2015-12-30 15:15 晕菜一员 阅读(28379) 评论(0) 推荐(1) 编辑