提取了一些在开发过程中可能会用到的日期相关的函数作为工具类,供大家参考:
/**
* 日期操作工具类.
*
* @author shimiso
*/
public class DateUtil {
private static final String FORMAT = "yyyy-MM-dd HH:mm:ss";
public static Date str2Dat...
分类:
移动开发 时间:
2014-06-07 01:15:57
阅读次数:
289
ld: library not found for -lxxxxxxxx
clang: error: linker command failed with exit code 1 (use -v to see invocation)...
分类:
其他好文 时间:
2014-06-05 12:42:28
阅读次数:
386
原因:移动端应用Oauth授权,不需要填写回调地址,不像web端,把下面的地址删除即可 ps:实际上他是有回调的,地址为:http://...
分类:
移动开发 时间:
2014-06-05 11:50:36
阅读次数:
230
1.找到设备的identifier
2.进入https://developer.apple.com
3.点击devices
4.把identifier加入并注册
5.打开xcode,按command+,
6.点击你的证书,进入view details
7.刷新即可...
分类:
移动开发 时间:
2014-06-05 08:31:16
阅读次数:
282
Oracle sqlplus报表的实现
备份数据库
非归档 :要关闭数据库
归档:
Oracle中只有date,没有datatime
sys/sorry as sysdba sys系统管理员,权限最大
show user查看当前登录数据库的用户
1.安装选择host-ONLY...
分类:
数据库 时间:
2014-06-05 06:20:26
阅读次数:
330
1. 同事的一台服务器在修改了系统时区后重启的时候,检测到了apache的error_log出现了以下内容
2.这是apache的mod_wsgi模块,这个模块可以用python作为CGI脚本来跑网络应用,可是同事的服务器上跑的是php的程序.根本就没点儿python的代码.
打开httpd.conf后,也没有找到和这个模垮有关的内容....
分类:
其他好文 时间:
2014-06-05 06:03:26
阅读次数:
211
做的接口中用到日期比较,要返回某段时间内的数据列表。数据表中字段为“end_time”,时间格式为 2014-05-30
13:12:10,想查截止报名时间的数据。select 字段名 from 表 where end_time >当前时间
;mysql数据表中存放时间字段格式date,dateti...
分类:
数据库 时间:
2014-05-31 07:40:05
阅读次数:
556
详细错误信息为:Error in invoking target‘install’of
makefile‘/opt/oracle/product/10.2/ctx/lib/ins_ctx.mk’.
See‘/opt/oracle/oraInvertory/logs/installActions201...
分类:
系统相关 时间:
2014-05-31 06:14:14
阅读次数:
512
Android开发过程中 eclipse 经常会出现
logcat突然就是不现实log的情况。经常遇到,一直没有解决。后来解决了,记录一下。默认的设置是error改成verbos 问题解决。
分类:
系统相关 时间:
2014-05-31 04:27:58
阅读次数:
344
date:20140530auth:Jin参考:http://dev.mysql.com/doc/refman/5.5/en/server-status-variables.html#http://dev.mysql.com/doc/refman/5.5/en/memory-use.htmlhttp...
分类:
数据库 时间:
2014-05-31 01:42:02
阅读次数:
617