江苏省备案网站淄博人才网官网首页

web/2025/10/7 13:49:16/文章来源:
江苏省备案网站,淄博人才网官网首页,网站专题页优化,职业教育专业建设验收网站主要介绍LocalDateTime的格式化字符串与时间戳的相互转换 常见带日期时间格式#xff1a; 字段名字段值api格式DateTimeFormatter.ISO_LOCAL_DATE_TIME字符串patternyyyy-MM-dd’T’HH:mm:ss.SSS’示例2022-06-15T22:06:29.483字符串patternyyyy-MM-dd HH:mm:ss示例2022-06-…主要介绍LocalDateTime的格式化字符串与时间戳的相互转换 常见带日期时间格式 字段名字段值api格式DateTimeFormatter.ISO_LOCAL_DATE_TIME字符串patternyyyy-MM-dd’T’HH:mm:ss.SSS’示例2022-06-15T22:06:29.483字符串patternyyyy-MM-dd HH:mm:ss示例2022-06-15 22:06:29 1. 使用默认格式和默认时区 package com.ysx.utils.datetime;import java.time.Instant; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.format.DateTimeFormatter;/*** LocalDateTime 字符串与时间戳的相互转换** author youngbear* email youngbearaliyun.com* date 2024-07-07 11:38* blog a hrefhttps://blog.csdn.net/next_second.../a* github a hrefhttps://github.com/YoungBear.../a* description*/ public class LocalDateTimeFormatterUtils {/*** 默认时间日期格式字符串* yyyy-MM-dd HH:mm:ss* eg.* 2022-06-15 22:06:29*/private static final DateTimeFormatter DEFAULT_FORMATTER DateTimeFormatter.ofPattern(yyyy-MM-dd HH:mm:ss);/*** 根据时间戳格式化为字符串* 指定格式的时间日期格式* 使用系统默认时区** param timestamp 时间戳 毫秒 如 1655301989483L* return 格式化后的字符串 如 2022-06-15T22:06:29.483*/public static String long2String(long timestamp) {return Instant.ofEpochMilli(timestamp).atZone(ZoneId.systemDefault()).toLocalDateTime().format(DEFAULT_FORMATTER);}/*** 根据字符串解析时间戳* 默认格式的时间日期格式* 默认时区** param dateString 格式化后的字符串 如 2022-06-15T17:06:29.483* return 时间戳 毫秒 如 1655301989483L*/public static long string2long(String dateString) {return LocalDateTime.parse(dateString, DEFAULT_FORMATTER).atZone(ZoneId.systemDefault()).toInstant().toEpochMilli();}} 对应单元测试 package com.ysx.utils.datetime;import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.MockedStatic; import org.mockito.Mockito;import java.time.ZoneId; import java.time.format.DateTimeFormatter;import static org.junit.jupiter.api.Assertions.assertEquals;/*** author youngbear* email youngbearaliyun.com* date 2024-07-07 11:55* blog a hrefhttps://blog.csdn.net/next_second.../a* github a hrefhttps://github.com/YoungBear.../a* description unit test for {link LocalDateTimeFormatterUtils}*/ public class LocalDateTimeFormatterUtilsTest {TestDisplayName(根据时间戳格式化为字符串 默认格式 默认时区)public void long2StringTest1() {long timestamp 1655301989483L;ZoneId zoneIdShanghai ZoneId.of(Asia/Shanghai);try (MockedStaticZoneId mockedZonedId Mockito.mockStatic(ZoneId.class)) {mockedZonedId.when(ZoneId::systemDefault).thenReturn(zoneIdShanghai);assertEquals(2022-06-15 22:06:29, LocalDateTimeFormatterUtils.long2String(timestamp));}}TestDisplayName(根据字符串解析为时间戳 默认格式 默认时区)public void string2longTest1() {ZoneId zoneIdShanghai ZoneId.of(Asia/Shanghai);try (MockedStaticZoneId mockedZonedId Mockito.mockStatic(ZoneId.class)) {mockedZonedId.when(ZoneId::systemDefault).thenReturn(zoneIdShanghai);assertEquals(1655301989000L, LocalDateTimeFormatterUtils.string2long(2022-06-15 22:06:29));}}} 2. 更多方法(指定格式和指定时区) package com.ysx.utils.datetime;import java.time.Instant; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.format.DateTimeFormatter;/*** LocalDateTime 字符串与时间戳的相互转换** author youngbear* email youngbearaliyun.com* date 2024-07-07 11:38* blog a hrefhttps://blog.csdn.net/next_second.../a* github a hrefhttps://github.com/YoungBear.../a* description*/ public class LocalDateTimeFormatterUtils {/*** 默认时间日期格式字符串* yyyy-MM-dd HH:mm:ss* eg.* 2022-06-15 22:06:29*/private static final DateTimeFormatter DEFAULT_FORMATTER DateTimeFormatter.ofPattern(yyyy-MM-dd HH:mm:ss);/*** 根据时间戳格式化为字符串* 指定格式的时间日期格式* 使用系统默认时区** param timestamp 时间戳 毫秒 如 1655301989483L* return 格式化后的字符串 如 2022-06-15T22:06:29.483*/public static String long2String(long timestamp) {return Instant.ofEpochMilli(timestamp).atZone(ZoneId.systemDefault()).toLocalDateTime().format(DEFAULT_FORMATTER);}/*** 根据时间戳格式化为字符串* 指定格式的时间日期格式* 使用系统默认时区** param timestamp 时间戳 毫秒 如 1655301989483L* param formatter formatter 如 DateTimeFormatter.ISO_LOCAL_DATE_TIME* return 格式化后的字符串 如 2022-06-15T17:06:29.483*/public static String long2String(long timestamp, DateTimeFormatter formatter) {return Instant.ofEpochMilli(timestamp).atZone(ZoneId.systemDefault()).toLocalDateTime().format(formatter);}/*** 根据时间戳格式化为字符串* 默认格式的时间日期格式* 指定时区** param timestamp 时间戳 毫秒 如 1655301989483L* param zoneId 时区信息 如 ZoneId.of(Europe/Moscow)* return 格式化后的字符串 如 2022-06-15T17:06:29.483*/public static String long2String(long timestamp, ZoneId zoneId) {return Instant.ofEpochMilli(timestamp).atZone(zoneId).toLocalDateTime().format(DEFAULT_FORMATTER);}/*** 根据时间戳格式化为字符串* 指定格式的时间日期格式* 指定时区** param timestamp 时间戳 毫秒 如 1655301989483L* param formatter formatter 如 DateTimeFormatter.ISO_LOCAL_DATE_TIME* param zoneId 时区信息 如 ZoneId.of(Europe/Moscow)* return 格式化后的字符串 如 2022-06-15T17:06:29.483*/public static String long2String(long timestamp, DateTimeFormatter formatter, ZoneId zoneId) {return Instant.ofEpochMilli(timestamp).atZone(zoneId).toLocalDateTime().format(formatter);}/*** 根据字符串解析时间戳* 默认格式的时间日期格式* 默认时区** param dateString 格式化后的字符串 如 2022-06-15T17:06:29.483* return 时间戳 毫秒 如 1655301989483L*/public static long string2long(String dateString) {return LocalDateTime.parse(dateString, DEFAULT_FORMATTER).atZone(ZoneId.systemDefault()).toInstant().toEpochMilli();}/*** 根据字符串解析时间戳* 指定格式的时间日期格式* 默认时区** param dateString 格式化后的字符串 如 2022-06-15T17:06:29.483* param formatter formatter 如 DateTimeFormatter.ISO_LOCAL_DATE_TIME* return 时间戳 毫秒 如 1655301989483L*/public static long string2long(String dateString, DateTimeFormatter formatter) {return LocalDateTime.parse(dateString, formatter).atZone(ZoneId.systemDefault()).toInstant().toEpochMilli();}/*** 根据字符串解析时间戳* 默认格式的时间日期格式* 指定时区** param dateString 格式化后的字符串 如 2022-06-15T17:06:29.483* param zoneId 时区信息 如 ZoneId.of(Europe/Moscow)* return 时间戳 毫秒 如 1655301989483L*/public static long string2long(String dateString, ZoneId zoneId) {return LocalDateTime.parse(dateString, DEFAULT_FORMATTER).atZone(zoneId).toInstant().toEpochMilli();}/*** 根据字符串解析时间戳* 指定格式的时间日期格式* 指定时区** param dateString 格式化后的字符串 如 2022-06-15T17:06:29.483* param formatter formatter 如 DateTimeFormatter.ISO_LOCAL_DATE_TIME* param zoneId 时区信息 如 ZoneId.of(Europe/Moscow)* return 时间戳 毫秒 如 1655301989483L*/public static long string2long(String dateString, DateTimeFormatter formatter, ZoneId zoneId) {return LocalDateTime.parse(dateString, formatter).atZone(zoneId).toInstant().toEpochMilli();}} 对应单元测试 package com.ysx.utils.datetime;import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.MockedStatic; import org.mockito.Mockito;import java.time.ZoneId; import java.time.format.DateTimeFormatter;import static org.junit.jupiter.api.Assertions.assertEquals;/*** author youngbear* email youngbearaliyun.com* date 2024-07-07 11:55* blog a hrefhttps://blog.csdn.net/next_second.../a* github a hrefhttps://github.com/YoungBear.../a* description unit test for {link LocalDateTimeFormatterUtils}*/ public class LocalDateTimeFormatterUtilsTest {TestDisplayName(根据时间戳格式化为字符串 默认格式 默认时区)public void long2StringTest1() {long timestamp 1655301989483L;ZoneId zoneIdShanghai ZoneId.of(Asia/Shanghai);try (MockedStaticZoneId mockedZonedId Mockito.mockStatic(ZoneId.class)) {mockedZonedId.when(ZoneId::systemDefault).thenReturn(zoneIdShanghai);assertEquals(2022-06-15 22:06:29, LocalDateTimeFormatterUtils.long2String(timestamp));}}TestDisplayName(根据时间戳格式化为字符串 指定格式 默认时区)public void long2StringTest2() {long timestamp 1655301989483L;DateTimeFormatter formatter1 DateTimeFormatter.ISO_LOCAL_DATE_TIME;DateTimeFormatter formatter2 DateTimeFormatter.ofPattern(yyyy-MM-dd HH:mm:ss);ZoneId zoneIdShanghai ZoneId.of(Asia/Shanghai);try (MockedStaticZoneId mockedZonedId Mockito.mockStatic(ZoneId.class)) {mockedZonedId.when(ZoneId::systemDefault).thenReturn(zoneIdShanghai);assertEquals(2022-06-15T22:06:29.483, LocalDateTimeFormatterUtils.long2String(timestamp, formatter1));assertEquals(2022-06-15 22:06:29, LocalDateTimeFormatterUtils.long2String(timestamp, formatter2));}}TestDisplayName(根据时间戳格式化为字符串 默认格式 指定时区)public void long2StringTest3() {long timestamp 1655301989483L;ZoneId zoneIdShanghai ZoneId.of(Asia/Shanghai);ZoneId zoneIdMoscow ZoneId.of(Europe/Moscow);ZoneId zoneIdParis ZoneId.of(Europe/Paris);ZoneId zoneIdLos_Angeles ZoneId.of(America/Los_Angeles);assertEquals(2022-06-15 22:06:29, LocalDateTimeFormatterUtils.long2String(timestamp, zoneIdShanghai));assertEquals(2022-06-15 17:06:29, LocalDateTimeFormatterUtils.long2String(timestamp, zoneIdMoscow));assertEquals(2022-06-15 16:06:29, LocalDateTimeFormatterUtils.long2String(timestamp, zoneIdParis));assertEquals(2022-06-15 07:06:29, LocalDateTimeFormatterUtils.long2String(timestamp, zoneIdLos_Angeles));}TestDisplayName(根据时间戳格式化为字符串 指定格式 指定时区)public void long2StringTest4() {long timestamp 1655301989483L;DateTimeFormatter formatter1 DateTimeFormatter.ISO_LOCAL_DATE_TIME;DateTimeFormatter formatter2 DateTimeFormatter.ofPattern(yyyy-MM-dd HH:mm:ss);ZoneId zoneIdShanghai ZoneId.of(Asia/Shanghai);ZoneId zoneIdMoscow ZoneId.of(Europe/Moscow);ZoneId zoneIdParis ZoneId.of(Europe/Paris);ZoneId zoneIdLos_Angeles ZoneId.of(America/Los_Angeles);assertEquals(2022-06-15T22:06:29.483, LocalDateTimeFormatterUtils.long2String(timestamp, formatter1, zoneIdShanghai));assertEquals(2022-06-15T17:06:29.483, LocalDateTimeFormatterUtils.long2String(timestamp, formatter1, zoneIdMoscow));assertEquals(2022-06-15T16:06:29.483, LocalDateTimeFormatterUtils.long2String(timestamp, formatter1, zoneIdParis));assertEquals(2022-06-15T07:06:29.483, LocalDateTimeFormatterUtils.long2String(timestamp, formatter1, zoneIdLos_Angeles));assertEquals(2022-06-15 22:06:29, LocalDateTimeFormatterUtils.long2String(timestamp, formatter2, zoneIdShanghai));assertEquals(2022-06-15 17:06:29, LocalDateTimeFormatterUtils.long2String(timestamp, formatter2, zoneIdMoscow));assertEquals(2022-06-15 16:06:29, LocalDateTimeFormatterUtils.long2String(timestamp, formatter2, zoneIdParis));assertEquals(2022-06-15 07:06:29, LocalDateTimeFormatterUtils.long2String(timestamp, formatter2, zoneIdLos_Angeles));}TestDisplayName(根据字符串解析为时间戳 默认格式 默认时区)public void string2longTest1() {ZoneId zoneIdShanghai ZoneId.of(Asia/Shanghai);try (MockedStaticZoneId mockedZonedId Mockito.mockStatic(ZoneId.class)) {mockedZonedId.when(ZoneId::systemDefault).thenReturn(zoneIdShanghai);assertEquals(1655301989000L, LocalDateTimeFormatterUtils.string2long(2022-06-15 22:06:29));}}TestDisplayName(根据字符串解析为时间戳 指定格式 默认时区)public void string2longTest2() {DateTimeFormatter formatter1 DateTimeFormatter.ISO_LOCAL_DATE_TIME;DateTimeFormatter formatter2 DateTimeFormatter.ofPattern(yyyy-MM-dd HH:mm:ss);ZoneId zoneIdShanghai ZoneId.of(Asia/Shanghai);long timestamp1 1655301989483L;long timestamp2 1655301989000L;String dateStringShanghai1 2022-06-15T22:06:29.483;String dateStringShanghai2 2022-06-15 22:06:29;try (MockedStaticZoneId mockedZonedId Mockito.mockStatic(ZoneId.class)) {mockedZonedId.when(ZoneId::systemDefault).thenReturn(zoneIdShanghai);assertEquals(timestamp1, LocalDateTimeFormatterUtils.string2long(dateStringShanghai1, formatter1));assertEquals(timestamp2, LocalDateTimeFormatterUtils.string2long(dateStringShanghai2, formatter2));}}TestDisplayName(根据字符串解析为时间戳 默认格式 指定时区)public void string2longTest3() {ZoneId zoneIdShanghai ZoneId.of(Asia/Shanghai);ZoneId zoneIdMoscow ZoneId.of(Europe/Moscow);ZoneId zoneIdParis ZoneId.of(Europe/Paris);ZoneId zoneIdLos_Angeles ZoneId.of(America/Los_Angeles);String dateStringShanghai2 2022-06-15 22:06:29;String dateStringMoscow2 2022-06-15 17:06:29;String dateStringParis2 2022-06-15 16:06:29;String dateStringLos_Angeles2 2022-06-15 07:06:29;long timestamp2 1655301989000L;assertEquals(timestamp2, LocalDateTimeFormatterUtils.string2long(dateStringShanghai2, zoneIdShanghai));assertEquals(timestamp2, LocalDateTimeFormatterUtils.string2long(dateStringMoscow2, zoneIdMoscow));assertEquals(timestamp2, LocalDateTimeFormatterUtils.string2long(dateStringParis2, zoneIdParis));assertEquals(timestamp2, LocalDateTimeFormatterUtils.string2long(dateStringLos_Angeles2, zoneIdLos_Angeles));}TestDisplayName(根据字符串解析为时间戳 指定格式 指定时区)public void string2longTest4() {DateTimeFormatter formatter1 DateTimeFormatter.ISO_LOCAL_DATE_TIME;DateTimeFormatter formatter2 DateTimeFormatter.ofPattern(yyyy-MM-dd HH:mm:ss);ZoneId zoneIdShanghai ZoneId.of(Asia/Shanghai);ZoneId zoneIdMoscow ZoneId.of(Europe/Moscow);ZoneId zoneIdParis ZoneId.of(Europe/Paris);ZoneId zoneIdLos_Angeles ZoneId.of(America/Los_Angeles);String dateStringShanghai1 2022-06-15T22:06:29.483;String dateStringMoscow1 2022-06-15T17:06:29.483;String dateStringParis1 2022-06-15T16:06:29.483;String dateStringLos_Angeles1 2022-06-15T07:06:29.483;String dateStringShanghai2 2022-06-15 22:06:29;String dateStringMoscow2 2022-06-15 17:06:29;String dateStringParis2 2022-06-15 16:06:29;String dateStringLos_Angeles2 2022-06-15 07:06:29;long timestamp1 1655301989483L;long timestamp2 1655301989000L;assertEquals(timestamp1, LocalDateTimeFormatterUtils.string2long(dateStringShanghai1, formatter1, zoneIdShanghai));assertEquals(timestamp1, LocalDateTimeFormatterUtils.string2long(dateStringMoscow1, formatter1, zoneIdMoscow));assertEquals(timestamp1, LocalDateTimeFormatterUtils.string2long(dateStringParis1, formatter1, zoneIdParis));assertEquals(timestamp1, LocalDateTimeFormatterUtils.string2long(dateStringLos_Angeles1, formatter1, zoneIdLos_Angeles));assertEquals(timestamp2, LocalDateTimeFormatterUtils.string2long(dateStringShanghai2, formatter2, zoneIdShanghai));assertEquals(timestamp2, LocalDateTimeFormatterUtils.string2long(dateStringMoscow2, formatter2, zoneIdMoscow));assertEquals(timestamp2, LocalDateTimeFormatterUtils.string2long(dateStringParis2, formatter2, zoneIdParis));assertEquals(timestamp2, LocalDateTimeFormatterUtils.string2long(dateStringLos_Angeles2, formatter2, zoneIdLos_Angeles));} } 源码地址-github 源码地址-gitee 更多文章

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/web/88512.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

打开手机网站速度慢一个人网站开发

文章目录 0 概念1 使用场景2 优缺点2.1 优点2.2 缺点 3 实现方式4 和其他模式的区别5 具体例子实现5.1 实现代码 0 概念 定义:定义一个算法族,并分别封装起来。策略让算法的变化独立于它的客户(这样就可在不修改上下文代码或其他策略的情况下…

无限空间网站什么网站上可以做简历

“我在电脑上保存了很多照片,在清理电脑时一不小心误删了,现在完全没办法将它们找回,大家有什么方法吗?希望给我一些建议。” 在数字时代,照片成为了我们记录生活、珍藏回忆的重要载体。无论是旅行中的风景照、家庭聚会…

代理备案网站编程猫少儿编程官网

1107. 魔板 - AcWing题库 Rubik 先生在发明了风靡全球的魔方之后,又发明了它的二维版本——魔板。 这是一张有 8 个大小相同的格子的魔板: 1 2 3 4 8 7 6 5我们知道魔板的每一个方格都有一种颜色。 这 8 种颜色用前 8 个正整数来表示。 可以用颜色的…

网站设计与推广同城招聘网站自助建站

前言 今天讲点比较高端的东西—DLL反射注入,首先什么是DLL文件,简答来说就是程序为了实现某个功能而调用的文件。举个例子,某个代码想要实现某个功能是不是会调用一些封装好的函数,exe同样如此,想要实现某个功能就会调…

商务网站建设总结网站建设的公司选择哪家好

作者 李祥 单位 湖北经济学院 给 52 张扑克牌面编号如下: 编号牌面编号牌面编号牌面编号牌面0♠A13♥A26♣A39♦A1♠214♥227♣240♦22♠315♥328♣341♦33♠416♥429♣442♦44♠517♥530♣543♦55♠618♥631♣644♦66♠719♥732♣745♦77♠820♥833♣846♦88♠9…

医疗网站模板免费下载北京专业网站维护公司

ToUpper()/ToLower() 作用:将字符串中字符转换为大写/小写字符,仅对字符有效,返回转换后的字符串。 使用:字符串变量名.ToUpper() / 字符串变量名.ToLower() 使用实例如下: using System; using System.Collection…

旅游网站建设规划方案江苏网站建设推广

Nginx怎么做负载均衡 Nginx 是一个高性能的开源反向代理服务器,可以用于实现负载均衡。负载均衡指的是将用户请求平均分配给多个服务器,以提高整体系统性能和可靠性。下面是一个详细介绍如何使用 Nginx 实现负载均衡的步骤: 步骤 1&#xf…

现在pc端网站开发用的什么技术河源东莞网站建设

Active Disk Image是一种磁盘映像软件,可以精确复制任何PC磁盘(HDD,SSD,USB,CD,DVD,Blu-ray等)并将其存储在文件夹中。磁盘映像可用于备份,PC升级或磁盘复制。万一计算机出现故障,可…

贵阳网站制作 建设南阳网站托管

HTML图形 1. HTML5 Canvas2.HTML5 内联 SVG3.HTML 5 Canvas vs. SVG 1. HTML5 Canvas HTML5 的 canvas 元素使用 JavaScript 在网页上绘制图像。画布是一个矩形区域,您可以控制其每一像素。canvas 拥有多种绘制路径、矩形、圆形、字符以及添加图像的方法。 1、创建…

南京做企业网站的公司wordpress不适合大型网站

静态链接和动态链接 静态链接方法:静态链接的时候,载入代码就会把程序会用到的动态代码或动态代码的地址确定下来 静态库的链接可以使用静态链接,动态链接库也可以使用这种方法链接导入库 动态链接方法:使用这种方式的程序并不在一…

湖南搜索引擎推广多少钱网站关键词优化哪家正规

1. 题目 在一个 m*n 的棋盘的每一格都放有一个礼物,每个礼物都有一定的价值(价值大于 0)。你可以从棋盘的左上角开始拿格子里的礼物,并每次向右或者向下移动一格、直到到达棋盘的右下角。给定一个棋盘及其上面的礼物的价值&#…

购物网站代码wordpress大胡子主题

试卷代号:1379 2021年春季学期期末统一考试 人文英语3 试题 2021年7月 注意事项 一、将你的学号、姓名及分校(工作站)名称填写在答题纸的规定栏内。考试结束后,把试卷和答题纸放在桌上。试卷和答题纸均不得带出考场。监考人收完考…

深圳企业网站定制wordpress uncode

近日,北京铭悦旅游客运有限公司又迎来一批苏州金龙海格纯电动客车。(以下简称北京铭悦旅游)总经理郭保生在车辆交付时说到,“为迎接强劲复苏的旅游市场,要求旅游客运向绿色客运转型,以及人民对品质生活、美…

网站建设是什么wordpress一键优化

浏览器缓存 好处: 减少冗余的数据传输,节省带宽。减轻服务器的请求压力,因为有缓存可以减少向服务器发送请求,资源从缓存中读取,加快客户端的访问速度。因为无需从服务器请求等待响应 缺点: 系统更新时…

有哪些企业网站平台怎么用服务器做局域网网站

前言 构建onnx方式通常有两种: 1、通过代码转换成onnx结构,比如pytorch —> onnx 2、通过onnx 自定义结点,图,生成onnx结构 本文主要是简单学习和使用两种不同onnx结构, 下面以 Less 结点进行分析 方式 方法一&a…

丽水城乡建设局网站中心城网站建设

Supervisord进程管家 Supervisord是一个守护进程的工具,当进程意外终止或服务器掉电起来后,希望进程能够自动运行,supervisord可以很好的为我们做这件事情。同时supervisord也自带监控界面,可以通过浏览器灵活的查看、操作。 以安…

网站大事记时间轴折叠宁波商城网站建设

作者主页:Java程序员老张 主要内容:SpringBoot、Vue、SSM、HLMT、Jsp、PHP、Nodejs、Python、爬虫、数据可视化、小程序、安卓app等设计与开发。 收藏点赞不迷路 关注作者有好处 文末获取源码 技术选型 【后端】:Java 【框架】:…

建网站要买服务器吗wordpress停止更新

目录 1 基本数据情况2 统计每个用户每个月登录次数3 将日期按月显示在列上4 总结 1 基本数据情况 当需要对用户登录情况进行统计时,SQL是一个非常强大的工具。通过SQL,可以轻松地从数据库中提取和汇总数据,并以适合分析和报告的方式进行呈现…

上海网站建设企业排名域名注册查询网站

文章目录 一、霍夫变换-直线1.1霍夫变换-直线 原理详解 二、霍夫圆检测 一、霍夫变换-直线 Hough Line Transform用来做直线检测 前提条件 – 边缘检测已经完成 1、平面空间(x,y)到极坐标空间转换; 2、对极坐标进行变换,转化为…

网站建设合同管辖地张家港做企业网站

线路总览上海自驾西藏拉萨,川进青出,全程约8000公里,需用时18~25天,行程主要分为4段:1、进藏之前:上海—成都,2000公里,3~5天;2、川藏线进:成都—拉萨&#x…