super 的使用: public Cat(String name, int month){ /** * 子类的构造的过程中必须调用其父类的构造方法 * 子类构造默认调用父类无参构造方法 * 可以通过super()调用父类允许被访问的其他构造方法 * super()必须放在子类构造方法中,且必须放在 ...
分类:
其他好文 时间:
2020-01-08 20:47:18
阅读次数:
76
cell-month 组件 <template> <div class="cell-month"> <div class="weeklist"> <!--星期几--> <div class="week_box"> <p v-for="(item,index) in weekData"> {{item ...
分类:
其他好文 时间:
2020-01-08 18:37:58
阅读次数:
351
1.字体设置 Editor-->Font 2.文档注释设置 Editor-->File and Code Templates-->Includes-->File Header /** @author songke @company xxx @create ${YEAR}-${MONTH}-${DAY ...
分类:
其他好文 时间:
2020-01-08 12:19:18
阅读次数:
130
#!/bin/bashSOURCE_DIR=( $* )TARGET_DIR=/dataYEAR=`date +%Y`MONTH=`date +%m`DAY=`date +%d`WEEK=`date +%u`FILES=system_backup.tgzCODE=$?if [ -z "$*" ];t ...
分类:
系统相关 时间:
2020-01-07 00:30:01
阅读次数:
116
什么是委托? 委托是一个类,它定义了方法的类型,使得可以将方法当作另一个方法的参数来进行传递,这种将方法动态地赋给参数的做法,可以避免在程序中大量使用If-Else(Switch)语句,同时使得程序具有更好的可扩展性。 委托是一种动态调用方法的类型,属于引用型。 委托是对方法的抽象和封装。委托对象实 ...
Borland Delphi 7 Enterprise(企业版)官方下载地址:http://altd.embarcadero.com/download/delphi/d7/english/ent/delphi_7_ent_en.isohttp://altd.embarcadero.com/devsu ...
分类:
其他好文 时间:
2020-01-06 15:04:39
阅读次数:
998
-- 日期函数select CURRENT_DATE,CURRENT_TIME,CURRENT_TIMESTAMP,year(CURRENT_DATE),month(CURRENT_DATE);select * from sr_main where TIMESTAMPDIFF(DAY,SYS_CRE ...
分类:
数据库 时间:
2020-01-06 00:07:39
阅读次数:
135
var start = "2019-02-11";//开始时间 var end = nowTime();//结束时间 //返回当前时间 function nowTime(){ var now = new Date(); var year = now.getFullYear(); var month ...
分类:
编程语言 时间:
2020-01-04 18:47:37
阅读次数:
91
inplace=True :是指重置索引的结果是否作用在前面的数据上 我们并不能设置df.pivot_table(values='orderamount',index='month',aggfunc=sum) 输出结果的格式,所以在 df.pivot_table(values='orderamoun ...
分类:
其他好文 时间:
2020-01-01 17:17:53
阅读次数:
641
//时间戳转换成日期时间(年月日) function js_date_time(unixtime) { var dateTime = new Date(parseInt(unixtime) * 1000) var year = dateTime.getFullYear(); var month = ...
分类:
其他好文 时间:
2019-12-30 11:41:19
阅读次数:
85