1.日期时间处理类 JDK8通过发布新的Date-Time API(JSR 310)来进一步加强对日期与时间的处理 新增了很多常见的API,如日期/时间的比较,加减,格式化等 包所在位置java.time 核心类 LocalDate:日期 LocalTime:时间 LocalDateTime:日期时 ...
分类:
其他好文 时间:
2021-01-21 10:37:20
阅读次数:
0
mysqldump命令 @echo off set "dateYmds=%date:~,4%%date:~5,2%%date:~8,2%" echo "%dateYmd%" "C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqldump.exe" -uu ...
分类:
数据库 时间:
2021-01-20 12:17:17
阅读次数:
0
字符函数 #字符拼接 CONCAT('%','abc'); #函数返回subStr在str中出现的位置(返回结果从1开始,0表示不存在) locate(subStr,str); #截取字符串(截取下标从1开始,负数表示右边) SUBSTRING(sub,2) 日期函数 #日期转化 date_form ...
分类:
数据库 时间:
2021-01-20 12:17:05
阅读次数:
0
在 Linux 系统中,指令 date 和 hwclock 都可以读写时间 date:读写系统时间,写时间需要管理员权限 hwclock:读写硬件时间,也就是 rtc 模块的时间,读写都必须有管理员权限 // 读取当前系统时间 $ date Thu Oct 24 03:03:13 UTC 2019 ...
分类:
其他好文 时间:
2021-01-20 11:53:53
阅读次数:
0
安装mysql 使用rpm包安装 yum remove mariadb-libs.x86_64 yum install perl rpm -ivh mysql-community-common-5.7.31-1.el7.x86_64.rpm rpm -ivh mysql-community-libs ...
分类:
数据库 时间:
2021-01-19 11:40:29
阅读次数:
0
import java.util.*; public class Solution { /** * * @param n int整型 总台阶数量 * @return int整型 */ //有 n 个台阶,你一次能走 1 个或者 2 个台阶,那么请问,走完这 n 个台阶共有几种方式? //备忘录模式 ...
分类:
编程语言 时间:
2021-01-18 11:22:40
阅读次数:
0
一、异步任务 1、启动类上添加@EnableAsync注解,启用异步模式 2、方法上添加@Async注解 /** * @author liangd * date 2020-12-15 10:49 * code 异步任务 */ @Service public class AsyncService { ...
分类:
编程语言 时间:
2021-01-18 10:54:40
阅读次数:
0
import java.util.Arrays; public class SelectSort { public static void main(String[] args) { int a[] = {5, 4, 3, 2, 1}; int[] result = selectSort(a); S ...
分类:
编程语言 时间:
2021-01-18 10:44:44
阅读次数:
0
当前日期: Sub 测试() Debug.Print Date End Sub 当前时间: Sub 测试() Debug.Print Date End Sub 几月: Sub 测试() Debug.Print Date Debug.Print Month(Date) & "月" End Sub 格式 ...
分类:
编程语言 时间:
2021-01-18 10:41:21
阅读次数:
0
1.autocomplete:作用于form或input域,点击时自动弹出历时输入过的数据,点击可快速输入 on:打开此功能 off:关闭此功能 在form上使用时,对整个form有效,但是form下的inout标签可以单独声明 2.autofocus:页面初始化时,自动聚焦到使用此属性的标签 3. ...
分类:
Web程序 时间:
2021-01-18 10:40:00
阅读次数:
0