这个插件的设置选项,所有样式都设置成自定义,提供回调函数,方便在外部进行扩展 css设置是可变的 也就是说 日历的样式是定制的; 废话不多说,如有错误,跪求各位大神指正,感谢!! ;(function($){ //创建一个日历插件 $.fn.Calendar = function(o){ //为这个
分类:
Web程序 时间:
2016-02-17 13:00:03
阅读次数:
157
Description During his last sabbatical, professor M. A. Ya made a surprising discovery about the old Maya calendar. From an old knotted message, profe
分类:
其他好文 时间:
2016-02-16 18:44:41
阅读次数:
169
10.时间编程 1.时间的类型: Coordinated Universal Time(UTC):世界标准时间,也就是大家所熟知的格林威治标准时间(Greenwich Mean Time,GMT)。 Calendar Time:日历时间,是用"从一个标准时间点(如:1970年1月1日0点)到此时经过...
分类:
其他好文 时间:
2016-02-14 09:06:45
阅读次数:
329
获取当前时间 NSDate *now = [NSDate date]; NSLog(@”now date is: %@”, now); NSCalendar *calendar = [NSCalendar currentCalendar]; NSUInteger unitFlags = NSYear
分类:
移动开发 时间:
2016-02-11 20:24:06
阅读次数:
285
package chengbaoDemo; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; impo
分类:
其他好文 时间:
2016-02-09 17:23:48
阅读次数:
233
2个Dialog对话框,一个可显示当前年月日,另外一个可以显示当前时间,并在点“确定”的时候,可进行回调操作。//这里是显示月月日对话框
publicvoidclick1(Viewv){
Calendarc=Calendar.getInstance();
intyear=c.get(Calendar.YEAR);
intmonthOfYear=c.get(Calendar.MONTH);
in..
分类:
其他好文 时间:
2016-02-03 14:34:26
阅读次数:
205
package com.dada.test; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; /** * @author * @version * */ public class
分类:
编程语言 时间:
2016-02-01 13:43:01
阅读次数:
202
java中的Calendar在开发中经常被忽略,这篇博客总结一下这个类,对后面项目中使用时期的时候有帮助。
Calendar常量(field)的作用Calendar cal = Calendar.getInstance();
cal.get(Calendar.DATE);//-----------------------当天 1-31
cal.get(Calendar.DAY_OF_MONTH);/...
分类:
编程语言 时间:
2016-02-01 02:20:47
阅读次数:
188
CronTriggers are often more useful than SimpleTrigger, if you need a job-firing schedule that recurs based on calendar-like notions, rather than on th...
分类:
Web程序 时间:
2016-01-26 12:10:46
阅读次数:
264
java 获取前几天时间一.toLocaleString()函数过时://当前时间Date endDate=new Date();String endTime=endDate.toLocaleString();//开始时间Calendar calendar=new GregorianCalendar...
分类:
编程语言 时间:
2016-01-25 19:33:00
阅读次数:
196