在进行频次、周期业务处理的时候,需要查询日、周、旬、月、季度、年等周期时间,为此而写的一个时间工具类。

import java.text.ParseException;

import java.text.SimpleDateFormat;

import java.util.ArrayList;

import java.util.Calendar;

import java.util.Date;

import java.util.List;

/**

* 日、星期(周)、旬、月、季度、年等时间工具类

*/

public class DateUtil {

private final static SimpleDateFormat shortSdf = new SimpleDateFormat("yyyy-MM-dd");

private final static SimpleDateFormat longHourSdf = new SimpleDateFormat("yyyy-MM-dd HH");

private final static SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

private final static SimpleDateFormat longSdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");

/**

* 根据要求的格式,格式化时间,返回String

*

* @param format 默认:yyyy-MM-dd HH:mm:ss

* @param time 要格式化的时间

* @return 时间字符串

*/

public static String toStr(String format, Date time) {

SimpleDateFormat df = null;

if (null == format) {

df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");

} else {

df = new SimpleDateFormat(format);

}

try {

return df.format(time);

} catch (Exception e) {

return null;

}

}

/**

* 字符串转时间

*

* @param source yyyy-MM-dd HH:mm:ss.SSS 格式的字符串

* @return

*/

public static Date toDate(String source) {

String formatString = "yyyy-MM-dd hh:mm:ss";

if (source == null || "".equals(source.trim())) {

return null;

}

source = source.trim();

if (source.matches("^\\d{4}$")) {

formatString = "yyyy";

} else if (source.matches("^\\d{4}-\\d{1,2}$")) {

formatString = "yyyy-MM";

} else if (source.matches("^\\d{4}-\\d{1,2}-\\d{1,2}$")) {

formatString = "yyyy-MM-dd";

} else if (source.matches("^\\d{4}-\\d{1,2}-\\d{1,2} {1}\\d{1,2}$")) {

formatString = "yyyy-MM-dd hh";

} else if (source.matches("^\\d{4}-\\d{1,2}-\\d{1,2} {1}\\d{1,2}:\\d{1,2}$")) {

formatString = "yyyy-MM-dd hh:mm";

} else if (source.matches("^\\d{4}-\\d{1,2}-\\d{1,2} {1}\\d{1,2}:\\d{1,2}:\\d{1,2}$")) {

formatString = "yyyy-MM-dd hh:mm:ss";

} else if (source.matches("^\\d{4}-\\d{1,2}-\\d{1,2} {1}\\d{1,2}:\\d{1,2}:\\d{1,2}\\.\\d{1,3}$")) {

formatString = "yyyy-MM-dd HH:mm:ss.SSS";

}

try {

SimpleDateFormat sdf = new SimpleDateFormat(formatString);

Date date = sdf.parse(source);

return date;

} catch (ParseException e) {

e.printStackTrace();

}

return null;

}

/**

* 获得本小时的开始时间

*

* @return

*/

public static Date getHourStartTime(Date date) {

Date dt = null;

try {

dt = longHourSdf.parse(longHourSdf.format(date));

} catch (Exception e) {

e.printStackTrace();

}

return dt;

}

/**

* 获得本小时的结束时间

*

* @return

*/

public static Date getHourEndTime(Date date) {

Date dt = null;

try {

dt = longSdf.parse(longHourSdf.format(date) + ":59:59.999");

} catch (Exception e) {

e.printStackTrace();

}

return dt;

}

/**

* 获得本天的开始时间

*

* @return

*/

public static Date getDayStartTime(Date date) {

Date dt = null;

try {

dt = shortSdf.parse(shortSdf.format(date));

} catch (Exception e) {

e.printStackTrace();

}

return dt;

}

/**

* 获得本天的结束时间

*

* @return

*/

public static Date getDayEndTime(Date date) {

Date dt = null;

try {

dt = longSdf.parse(shortSdf.format(date) + " 23:59:59.999");

} catch (Exception e) {

e.printStackTrace();

}

return dt;

}

/**

* 当前时间是星期几

*

* @return

*/

public static int getWeekDay(Date date) {

Calendar c = Calendar.getInstance();

c.setTime(date);

int week_of_year = c.get(Calendar.DAY_OF_WEEK);

return week_of_year - 1;

}

/**

* 获得本周的第一天,周一

*

* @return

*/

public static Date getWeekStartTime(Date date) {

Calendar c = Calendar.getInstance();

c.setTime(date);

try {

int weekday = c.get(Calendar.DAY_OF_WEEK) - 2;

c.add(Calendar.DATE, -weekday);

c.setTime(longSdf.parse(shortSdf.format(c.getTime()) + " 00:00:00.000"));

} catch (Exception e) {

e.printStackTrace();

}

return c.getTime();

}

/**

* 获得本周的最后一天,周日

*

* @return

*/

public static Date getWeekEndTime(Date date) {

Calendar c = Calendar.getInstance();

c.setTime(date);

try {

int weekday = c.get(Calendar.DAY_OF_WEEK);

c.add(Calendar.DATE, 8 - weekday);

c.setTime(longSdf.parse(shortSdf.format(c.getTime()) + " 23:59:59.999"));

} catch (Exception e) {

e.printStackTrace();

}

return c.getTime();

}

/**

* 获得本月的开始时间

*

* @return

*/

public static Date getMonthStartTime(Date date) {

Calendar c = Calendar.getInstance();

c.setTime(date);

Date dt = null;

try {

c.set(Calendar.DATE, 1);

dt = shortSdf.parse(shortSdf.format(c.getTime()));

} catch (Exception e) {

e.printStackTrace();

}

return dt;

}

/**

* 本月的结束时间

*

* @return

*/

public static Date getMonthEndTime(Date date) {

Calendar c = Calendar.getInstance();

c.setTime(date);

Date dt = null;

try {

c.set(Calendar.DATE, 1);

c.add(Calendar.MONTH, 1);

c.add(Calendar.DATE, -1);

dt = longSdf.parse(shortSdf.format(c.getTime()) + " 23:59:59.999");

} catch (Exception e) {

e.printStackTrace();

}

return dt;

}

/**

* 当前年的开始时间

*

* @return

*/

public static Date getYearStartTime(Date date) {

Calendar c = Calendar.getInstance();

c.setTime(date);

Date dt = null;

try {

c.set(Calendar.MONTH, 0);

c.set(Calendar.DATE, 1);

dt = shortSdf.parse(shortSdf.format(c.getTime()));

} catch (Exception e) {

e.printStackTrace();

}

return dt;

}

/**

* 当前年的结束时间

*

* @return

*/

public static Date getYearEndTime(Date date) {

Calendar c = Calendar.getInstance();

c.setTime(date);

Date dt = null;

try {

c.set(Calendar.MONTH, 11);

c.set(Calendar.DATE, 31);

dt = longSdf.parse(shortSdf.format(c.getTime()) + " 23:59:59.999");

} catch (Exception e) {

e.printStackTrace();

}

return dt;

}

/**

* 当前季度的开始时间

*

* @return

*/

public static Date getQuarterStartTime(Date date) {

Calendar c = Calendar.getInstance();

c.setTime(date);

int currentMonth = c.get(Calendar.MONTH) + 1;

Date dt = null;

try {

if (currentMonth >= 1 && currentMonth <= 3)

c.set(Calendar.MONTH, 0);

else if (currentMonth >= 4 && currentMonth <= 6)

c.set(Calendar.MONTH, 3);

else if (currentMonth >= 7 && currentMonth <= 9)

c.set(Calendar.MONTH, 6);

else if (currentMonth >= 10 && currentMonth <= 12)

c.set(Calendar.MONTH, 9);

c.set(Calendar.DATE, 1);

dt = longSdf.parse(shortSdf.format(c.getTime()) + " 00:00:00.000");

} catch (Exception e) {

e.printStackTrace();

}

return dt;

}

/**

* 当前季度的结束时间

*

* @return

*/

public static Date getQuarterEndTime(Date date) {

Calendar c = Calendar.getInstance();

c.setTime(date);

int currentMonth = c.get(Calendar.MONTH) + 1;

Date dt = null;

try {

if (currentMonth >= 1 && currentMonth <= 3) {

c.set(Calendar.MONTH, 2);

c.set(Calendar.DATE, 31);

} else if (currentMonth >= 4 && currentMonth <= 6) {

c.set(Calendar.MONTH, 5);

c.set(Calendar.DATE, 30);

} else if (currentMonth >= 7 && currentMonth <= 9) {

c.set(Calendar.MONTH, 8);

c.set(Calendar.DATE, 30);

} else if (currentMonth >= 10 && currentMonth <= 12) {

c.set(Calendar.MONTH, 11);

c.set(Calendar.DATE, 31);

}

dt = longSdf.parse(shortSdf.format(c.getTime()) + " 23:59:59.999");

} catch (Exception e) {

e.printStackTrace();

}

return dt;

}

/**

* 获取前/后半年的开始时间

*

* @return

*/

public static Date getHalfYearStartTime(Date date) {

Calendar c = Calendar.getInstance();

c.setTime(date);

int currentMonth = c.get(Calendar.MONTH) + 1;

Date dt = null;

try {

if (currentMonth >= 1 && currentMonth <= 6) {

c.set(Calendar.MONTH, 0);

} else if (currentMonth >= 7 && currentMonth <= 12) {

c.set(Calendar.MONTH, 6);

}

c.set(Calendar.DATE, 1);

dt = longSdf.parse(shortSdf.format(c.getTime()) + " 00:00:00.000");

} catch (Exception e) {

e.printStackTrace();

}

return dt;

}

/**

* 获取前/后半年的结束时间

*

* @return

*/

public static Date getHalfYearEndTime(Date date) {

Calendar c = Calendar.getInstance();

c.setTime(date);

int currentMonth = c.get(Calendar.MONTH) + 1;

Date dt = null;

try {

if (currentMonth >= 1 && currentMonth <= 6) {

c.set(Calendar.MONTH, 5);

c.set(Calendar.DATE, 30);

} else if (currentMonth >= 7 && currentMonth <= 12) {

c.set(Calendar.MONTH, 11);

c.set(Calendar.DATE, 31);

}

dt = longSdf.parse(shortSdf.format(c.getTime()) + " 23:59:59.999");

} catch (Exception e) {

e.printStackTrace();

}

return dt;

}

/**

* 获取月旬 三旬: 上旬1-10日 中旬11-20日 下旬21-31日

*

* @param date

* @return

*/

public static int getTenDay(Date date) {

Calendar c = Calendar.getInstance();

c.setTime(date);

int i = c.get(Calendar.DAY_OF_MONTH);

if (i < 11)

return 1;

else if (i < 21)

return 2;

else

return 3;

}

/**

* 获取所属旬开始时间

*

* @param date

* @return

*/

public static Date getTenDayStartTime(Date date) {

int ten = getTenDay(date);

try {

if (ten == 1) {

return getMonthStartTime(date);

} else if (ten == 2) {

SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-11");

return shortSdf.parse(df.format(date));

} else {

SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-21");

return shortSdf.parse(df.format(date));

}

} catch (ParseException e) {

e.printStackTrace();

}

return null;

}

/**

* 获取所属旬结束时间

*

* @param date

* @return

*/

public static Date getTenDayEndTime(Date date) {

int ten = getTenDay(date);

try {

if (ten == 1) {

SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-10 23:59:59.999");

return longSdf.parse(df.format(date));

} else if (ten == 2) {

SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-20 23:59:59.999");

return longSdf.parse(df.format(date));

} else {

return getMonthEndTime(date);

}

} catch (ParseException e) {

e.printStackTrace();

}

return null;

}

/**

* 属于本年第几天

*

* @return

*/

public static int getYearDayIndex(Date date) {

Calendar calendar = Calendar.getInstance();

calendar.setFirstDayOfWeek(Calendar.MONDAY);

calendar.setTime(date);

return calendar.get(Calendar.DAY_OF_YEAR);

}

/**

* 属于本年第几周

*

* @return

*/

public static int getYearWeekIndex(Date date) {

Calendar calendar = Calendar.getInstance();

calendar.setFirstDayOfWeek(Calendar.MONDAY);

calendar.setTime(date);

return calendar.get(Calendar.WEEK_OF_YEAR);

}

/**

* 属于本年第几月

*

* @return

*/

public static int getYearMonthIndex(Date date) {

Calendar calendar = Calendar.getInstance();

calendar.setTime(date);

return calendar.get(Calendar.MONTH) + 1;

}

/**

* 当前属于本年第几个季度

*

* @return

*/

public static int getYeartQuarterIndex(Date date) {

int month = getYearMonthIndex(date);

if (month <= 3)

return 1;

else if (month <= 6)

return 2;

else if (month <= 9)

return 3;

else

return 4;

}

/**

* 获取date所属年的所有天列表及开始/结束时间 开始时间:date[0],结束时间:date[1]

*

* @param date

* @return

*/

public static List yearDayList(Date date) {

List result = new ArrayList<>();

Calendar calendar = Calendar.getInstance();

Date starttm = getYearStartTime(date);

Date endtm = getYearEndTime(date);

calendar.setTime(starttm);

while (calendar.getTime().before(endtm)) {

Date st = getDayStartTime(calendar.getTime());

Date et = getDayEndTime(calendar.getTime());

result.add(new Date[]{st, et});

calendar.add(Calendar.DAY_OF_YEAR, 1);

}

return result;

}

/**

* 获取date所属年的所有星期列表及开始/结束时间 开始时间:date[0],结束时间:date[1]

*

* @param date

* @return

*/

public static List yearWeekList(Date date) {

List result = new ArrayList<>();

Calendar calendar = Calendar.getInstance();

Date starttm = getYearStartTime(date);

Date endtm = getYearEndTime(date);

calendar.setTime(starttm);

calendar.setFirstDayOfWeek(Calendar.MONDAY);

while (calendar.getTime().before(endtm)) {

Date st = getWeekStartTime(calendar.getTime());

Date et = getWeekEndTime(calendar.getTime());

result.add(new Date[]{st, et});

calendar.add(Calendar.WEEK_OF_YEAR, 1);

}

return result;

}

/**

* 获取date所属年的所有月列表及开始/结束时间 开始时间:date[0],结束时间:date[1]

*

* @param date

* @return

*/

public static List yearMonthList(Date date) {

List result = new ArrayList<>();

Calendar calendar = Calendar.getInstance();

Date starttm = getYearStartTime(date);

Date endtm = getYearEndTime(date);

calendar.setTime(starttm);

while (calendar.getTime().before(endtm)) {

Date tm = calendar.getTime();

Date st = getMonthStartTime(tm);

Date et = getMonthEndTime(tm);

result.add(new Date[]{st, et});

calendar.add(Calendar.MONTH, 1);

}

return result;

}

/**

* 获取date所属年的所有季度列表及开始/结束时间 开始时间:date[0],结束时间:date[1]

*

* @param date

* @return

*/

public static List yearQuarterList(Date date) {

List result = new ArrayList<>();

Calendar calendar = Calendar.getInstance();

Date starttm = getYearStartTime(date);

Date endtm = getYearEndTime(date);

calendar.setTime(starttm);

while (calendar.getTime().before(endtm)) {

Date st = getQuarterStartTime(calendar.getTime());

Date et = getQuarterEndTime(calendar.getTime());

result.add(new Date[]{st, et});

calendar.add(Calendar.MONTH, 3);

}

return result;

}

/**

* 获取date所属月份的所有旬列表及开始/结束时间 开始时间:date[0],结束时间:date[1]

*

* @param date

* @return

*/

public static List monthTenDayList(Date date) {

List result = new ArrayList<>();

Calendar calendar = Calendar.getInstance();

Date starttm = getMonthStartTime(date);

Date endtm = getMonthEndTime(date);

calendar.setTime(starttm);

while (calendar.getTime().before(endtm)) {

Date st = getTenDayStartTime(calendar.getTime());

Date et = getTenDayEndTime(calendar.getTime());

result.add(new Date[]{st, et});

calendar.add(Calendar.DAY_OF_MONTH, 11);

}

return result;

}

/**

* 获取date所属年的所有月旬列表及开始/结束时间 开始时间:date[0],结束时间:date[1]

*

* @param date

* @return

*/

public static List yearTenDayList(Date date) {

List result = new ArrayList<>();

Calendar calendar = Calendar.getInstance();

Date starttm = getYearStartTime(date);

Date endtm = getYearEndTime(date);

calendar.setTime(starttm);

while (calendar.getTime().before(endtm)) {//

result.addAll(monthTenDayList(calendar.getTime()));

calendar.add(Calendar.MONTH, 1);

}

return result;

}

/**

* 测试

*/

private static void test() {

Date date = new Date();

System.out.println("当前小时开始:" + toStr(null, getHourStartTime(date)));

System.out.println("当前小时结束:" + toStr(null, getHourEndTime(date)));

System.out.println("当前天开始:" + toStr(null, getDayStartTime(date)));

System.out.println("当前天时结束:" + toStr(null, getDayEndTime(date)));

System.out.println("当前天是星期:" + getWeekDay(date));

System.out.println("当前周开始:" + toStr(null, getWeekStartTime(date)));

System.out.println("当前周结束:" + toStr(null, getWeekEndTime(date)));

System.out.println("当前月开始:" + toStr(null, getMonthStartTime(date)));

System.out.println("当前月结束:" + toStr(null, getMonthEndTime(date)));

System.out.println("当前季度开始:" + toStr(null, getQuarterStartTime(date)));

System.out.println("当前季度结束:" + toStr(null, getQuarterEndTime(date)));

System.out.println("当前半年/后半年开始:" + toStr(null, getHalfYearStartTime(date)));

System.out.println("当前半年/后半年结束:" + toStr(null, getHalfYearEndTime(date)));

System.out.println("当前年开始:" + toStr(null, getYearStartTime(date)));

System.out.println("当前年结束:" + toStr(null, getYearEndTime(date)));

System.out.println("当前属于本年第:" + getYearDayIndex(date) + "天");

System.out.println("当前属于本年第:" + getYearWeekIndex(date) + "周");

System.out.println("当前属于本年第:" + getYearMonthIndex(date) + "月");

System.out.println("当前属于本年第:" + getYeartQuarterIndex(date) + "季度");

System.out.println("时间转换(yyyy): " + toStr(null, toDate("2018")));

System.out.println("时间转换(yyyy-MM): " + toStr(null, toDate("2018-01")));

System.out.println("时间转换(yyyy-MM-dd): " + toStr(null, toDate("2018-01-01")));

System.out.println("时间转换(yyyy-MM-dd hh): " + toStr(null, toDate("2018-01-01 23")));

System.out.println("时间转换(yyyy-MM-dd hh:mm): " + toStr(null, toDate("2018-01-01 23:59")));

System.out.println("时间转换(yyyy-MM-dd hh:mm:ss): " + toStr(null, toDate("2018-01-01 23:59:59")));

System.out.println("时间转换(yyyy-MM-dd HH:mm:ss.SSS): " + toStr(null, toDate("2018-01-01 23:59:59.999")));

}

/**

* 测试:获取当年所有日期列表

*/

private static void testYearDayList() {

List datas = yearDayList(new Date());

for (int i = 0; i < datas.size(); i++) {

Date[] date = datas.get(i);

System.out.println("(一年的日期列表)第" + (i + 1) + "天:" + sdf.format(date[0]) + " " + sdf.format(date[1]));

}

}

/**

* 测试:获取当年所有星期列表

*/

private static void testYearWeekList() {

List datas = yearWeekList(new Date());

for (int i = 0; i < datas.size(); i++) {

Date[] date = datas.get(i);

System.out.println("(一年的周列表)第" + (i + 1) + "周:" + sdf.format(date[0]) + " " + sdf.format(date[1]));

}

}

/**

* 测试:获取当年所有季度列表

*/

private static void testYearQuarterList() {

List datas = yearQuarterList(new Date());

for (int i = 0; i < datas.size(); i++) {

Date[] date = datas.get(i);

System.out.println("(一年的季度列表)第" + (i + 1) + "季度:" + sdf.format(date[0]) + " " + sdf.format(date[1]));

}

}

/**

* 测试:获取当年所有月份列表

*/

private static void testYearMonthList() {

List datas = yearMonthList(new Date());

for (int i = 0; i < datas.size(); i++) {

Date[] date = datas.get(i);

System.out.println("(一年的月列表)第" + (i + 1) + "月:" + sdf.format(date[0]) + " " + sdf.format(date[1]));

}

}

/**

* 测试:获取当月所有旬列表

*/

private static void testMonthTenDayList() {

//Date no= DateTimeTools.toDateTime("2018-02-01 15:38:15");

List datas = monthTenDayList(new Date());

for (int i = 0; i < datas.size(); i++) {

Date[] date = datas.get(i);

System.out.println("(一月的旬列表)第" + (i % 3 + 1) + "旬:" + sdf.format(date[0]) + " " + sdf.format(date[1]));

}

}

/**

* 测试:获取当年所有旬列表

*/

private static void testyearTenDayList() {

List datas = yearTenDayList(new Date());

for (int i = 0; i < datas.size(); i++) {

Date[] date = datas.get(i);

System.out.println("(一年的旬列表)第" + (i / 3 + 1) + "月" + (i % 3 + 1) + "旬:" + sdf.format(date[0]) + " " + sdf.format(date[1]));

}

}

public static void main(String[] args) {

test();

testYearDayList();

testYearWeekList();

testYearMonthList();

testYearQuarterList();

testyearTenDayList();

testMonthTenDayList();

}

}

calendar 获取季度的第一天_Java日期查询:日、周、旬、月、季度、年等时间操作...相关推荐

  1. sqlserver当前属于哪个季度_sqlserver 日期比较、日期查询常用语句:月的第一天,季度的第一天等...

    第一个例子,我将告诉你如何从当前日期去这个月的最后一天.请注意:这个例子以及这篇文章中的其他例子都将只使用DATEDIFF和DATEADD函数来计算我们想要的日期.每一个例子都将通过计算但前的时间间隔 ...

  2. moment常用操作(获取当前年/季度/月/日、上一年/季度/月/日、下一年/季度/月/日、某年/月/季度的开始和结束时间)

    Moment.js官网:文档 | Moment.js中文网 以下是相关功能介绍: 当前月: moment().format('MM') 当前季度: moment().quarter() 当前年: mo ...

  3. moment常用操作(获取当前年/季度/月/日、上一年/季度/月/日、下一年/季度/月/日、某年/月/季度的开始和结束时间...持续更新)

    官网:文档 | Moment.js 中文网 懒得每次查官网记录一下: 当前年: moment().format("YYYY") moment().year(); // Number ...

  4. java 当天最晚时间毫秒_java 日期和字符串互转,根据当天整天时间 得到当天最后一秒的日期时间...

    java 日期和字符串互转,根据当天整天时间   得到当天最后一秒的日期时间 package com.hi; import java.text.DateFormat; import java.text ...

  5. java 一个月的第一天_java中如何正确获得一个月的第一天和最后一天

    很简单的代码: //计算本月第一天 Calendar firstDay=Calendar.getInstance();//获取当前时间 firstDay.set(Calendar.DAY_OF_MON ...

  6. java 日期 年数_java 日期加减天数、月数、年数的计算方式

    因为某个项目需要统计 近1周.近1个月.近6个月 等数据,所以在时间的加减上面想了很多方式,最后决定用java.util.Calendar java.util.Calendar ,提供了计算时间的方式 ...

  7. java 日期只计算年月日大小_java 日期加减天数、月数、年数的计算方式

    因为某个项目需要统计 近1周.近1个月.近6个月 等数据,所以在时间的加减上面想了很多方式,最后决定用java.util.Calendar java.util.Calendar ,提供了计算时间的方式 ...

  8. PostgreSQL查询近多少年、多少周、根据日期查询这个周的开始时间和结束时间

    一.查询连续年的SQL语句 1.查询连接近20年的sql语句 SELECT tab."year" || '年' as text,tab."year" as co ...

  9. java 日期类代码_java 日期时间处理类

    import java.util.Calendar; import java.sql.Date; import java.text.SimpleDateFormat; import java.text ...

最新文章

  1. 印度太阳能企业争取对中、台、马实施反倾销税
  2. 简单的ALV显示例子
  3. 菜鸟教程-Javascript学习笔记-JS函数之前
  4. 动态SQL中变量赋值
  5. 谈身份管理之基础篇 - 保障云上安全,从[规范账号使用]开始
  6. 在Java中从字符串转换为双精度
  7. 修复Jscript(IE浏览器脚本引擎)异常
  8. 二十个让你泪流满面的瞬间
  9. linux 源码 网络驱动,Linux网络驱动源码分析(一)
  10. mysql 数据库 自动备份_MYSQL数据库自动备份
  11. SpringMVC日期处理(二)
  12. 脚本实现为一系列账号生成随机密码
  13. 射频微波芯片设计4:耦合器芯片
  14. vuejs中根据用户名生成头像背景色
  15. Eclipse下载以及旧版本下载
  16. Eureka No active profile set, falling back to default profiles: default
  17. 【2022年】安装vm虚拟机unbuntu 服务器版
  18. Python 学习笔记03 - 程序结构
  19. 怎么定义电子商务,电子商务这个词是如何进入大众视线的?
  20. 通俗理解深度学习梯度累加(Gradient Accumulation)的原理

热门文章

  1. 在SQL Server 2005中用存储过程实现搜索功能
  2. 脊柱是导致身体生病的重要原因
  3. vc++ 6.0下Glut的配置 及 Glut 框架介绍
  4. 一刷leetcode——计算几何
  5. [C#]非阻塞监听键盘输入
  6. mysql字段名与关键字冲突(near to:syntax error)
  7. Spring 多数据源事务配置问题
  8. 【“零起点”--百度地图手机SDK】如何添加地图图层+按钮事件+水平垂直布局?...
  9. gitee项目能用SVN拉取吗_用好 Git 和 SVN,轻松驾驭版本管理
  10. 图例放在图的外面_Origin做双Y轴箱型图(图文讲解)