提取了一些在开发过程中可能会用到的日期相关的函数作为工具类,供大家参考:
/**
* 日期操作工具类.
*
* @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
嫌弃官方Java EE Developers 笨重的兄弟可以自己搞个J2EE开发环境!
1、首先去Eclipse官网下载Eclipse IDE
我使用的是:Eclipse IDE for Java Developers
Version: Kepler Service Release 2
2、下载之后配置Eclipse和JRE关联参照:Eclipse使用jre的原理与配置
我使用的是:jre目录直接拷贝到eclipse目录下面...
分类:
系统相关 时间:
2014-06-07 01:13:20
阅读次数:
307
整合spring-framework-3.2.4.RELEASE 整合hibernate-release-4.3.5.Final报错Caused by: java.lang.NoClassDefFound的解决方案...
分类:
编程语言 时间:
2014-06-05 09:29:57
阅读次数:
289
解决方法:
点击一下工程,工程-->"Build Settings"-->找到Objective-C Automatic Reference Counting项-->将它的值设置为NO。ok
找到Objective-C Automatic Reference Counting项...
分类:
其他好文 时间:
2014-06-05 07:43:00
阅读次数:
303
【题目】
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.
You should pack your words in a greedy approach; that is, pack as many words as you can in each line. Pad ...
分类:
其他好文 时间:
2014-06-04 22:37:46
阅读次数:
389
SELECT
INTO,IDENTITY,OBJECT_ID,跨库查询常用函数:Len,Format,Cast,Convert
分类:
数据库 时间:
2014-06-03 09:59:00
阅读次数:
306
1.cd到Qt安装目录C:\Qt\qt-win-opensource-src-4.3.42,configure -static -release nmake
sub-src执行完就好了==============参考:http://www.caole.net/diary/qt_deploy.html...
分类:
其他好文 时间:
2014-06-03 08:05:17
阅读次数:
575
DateTime dt = DateTime.Now;//2010年10月4日 17点05分
string str = ""; //str = string.Format("{0:y yy yyy yyyy}", dt); //10 10 2010
2010 //str = String.Form....
分类:
其他好文 时间:
2014-05-31 14:36:51
阅读次数:
208
TD学生助手——release版发布1.设想和目标1.我们的软件要解决的问题
TD学生助手的主要核心思想就是帮助学生安排他们忙碌的学校生活。主要是通过以下几个方面
1.通过学生的需要进行分类(考试,实验,发博客等等),添加日程,保存日程到数据库中,将日程模块化管理; 2.用月视图和周视图,日视...
分类:
其他好文 时间:
2014-05-30 17:53:02
阅读次数:
329
先上一段代码:#include#include#includeusing namespace
std;void error(char* format,...){//至少要有一个参数,后边的...表示参数可变 va_list ap; int d,flag;
char c, *s; ...
分类:
编程语言 时间:
2014-05-30 17:51:46
阅读次数:
271