链接数据库 public static void main(String[] args) { //简约方式 try { Connection conn = DriverManager.getConnection("jdbc:mysql:/mysql?user=aa"); Statement st = ...
分类:
数据库 时间:
2021-03-02 12:02:39
阅读次数:
0
为什么需要LocalDate、LocalTime、LocalDateTime Date如果不格式化,打印出的日期可读性差 Tue Sep 10 09:34:04 CST 2019 使用SimpleDateFormat对时间进行格式化,但SimpleDateFormat是线程不安全的SimpleDat ...
分类:
其他好文 时间:
2021-03-02 11:49:22
阅读次数:
0
参考答案 assume cs:codeseg codeseg segment separator: db '/', '/', ' ', ':', ':' date_index: db 9, 8, 7, 4, 2, 0 ; 这几个位置没啥规律,耽误我写循环 start: mov ax, cs mov ...
分类:
编程语言 时间:
2021-03-01 14:15:42
阅读次数:
0
Let's say we have a date picker compoent which display start date and end date. We want to make sure that start date is no later than end date, if it ...
分类:
其他好文 时间:
2021-03-01 14:05:34
阅读次数:
0
Scanner Java.util.Scanner是Java5的新特征,我们可以通过Scanner类来获取用户的输入。 基本语法: Scanner s = new Scanner(System.in); 通过Scanner类的next()和nextLine()方法获取输入的字符串,在读取前我们一般需 ...
分类:
编程语言 时间:
2021-03-01 13:42:30
阅读次数:
0
1、split方法转化字符串为数组: String[] strPicArr = map.get("hw_pic").toString().split("*"); 报错: java.util.regex.PatternSyntaxException: Dangling meta character ' ...
分类:
编程语言 时间:
2021-03-01 13:36:05
阅读次数:
0
InfluxDB数据备份与恢复 一、基本命令 命令:influxd backup -database dbName backup_path 可选参数:-retention <retention policy name> -shard <shard ID>-since <date> 参数解析:rete ...
分类:
数据库 时间:
2021-03-01 13:29:07
阅读次数:
0
一、查询当前时间包含年月日 SELECT CURDATE(); SELECT CURRENT_DATE(); 二、查询当前时间包含年月日时分秒 SELECT NOW(); SELECT SYSDATE(); ...
分类:
数据库 时间:
2021-03-01 13:28:49
阅读次数:
0
1 package mergesort; 2 3 import java.util.Arrays; 4 5 public class MergeSort { 6 public static void main(String[] args) { 7 int[] arr = new int[]{11, ...
分类:
编程语言 时间:
2021-03-01 13:28:05
阅读次数:
0
package com.sean.base.threadStudy; import com.sean.base.object01.SimpleDateFormatDemo; import java.text.SimpleDateFormat; import java.util.Date; /** * ...
分类:
其他好文 时间:
2021-03-01 13:10:17
阅读次数:
0