当前位置: 首页 > news >正文

网站优化怎么做外链公司官方网站建设需要多少钱

网站优化怎么做外链,公司官方网站建设需要多少钱,上海传媒公司ceo,网站图片的像素JSR 310日期时间体系#xff1a; LocalDateTime#xff1a;本地日期时间OffsetDateTime#xff1a;带偏移量的日期时间ZonedDateTime#xff1a;带时区的日期时间 目录 构造计算格式化参考文章 日期时间包 import java.time.LocalDateTime; import java.time.OffsetDateT… JSR 310日期时间体系 LocalDateTime本地日期时间OffsetDateTime带偏移量的日期时间ZonedDateTime带时区的日期时间 目录 构造计算格式化参考文章 日期时间包 import java.time.LocalDateTime; import java.time.OffsetDateTime; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter;构造 LocalDateTime // 获取本地时间 LocalDateTime now LocalDateTime.now(); System.out.println(now); // 2023-09-20T15:12:35.899// 获取当前的纽约时间 LocalDateTime nowNewYork LocalDateTime.now(ZoneId.of(America/New_York)); System.out.println(nowNewYork); // 2023-09-20T03:12:35.902OffsetDateTime OffsetDateTime now OffsetDateTime.now(); System.out.println(now); // 2023-09-20T15:36:41.49008:00ZonedDateTime ZonedDateTime now ZonedDateTime.now(); System.out.println(now); // 2023-09-20T15:36:02.51308:00[Asia/Shanghai]计算 // 获取本地时间 LocalDateTime now LocalDateTime.now(); System.out.println(now); // 2023-09-20T15:21:06.789// 3天 LocalDateTime now3 now.plusDays(3); System.out.println(now3); // 2023-09-23T15:21:06.789// -4天 LocalDateTime now4 now.minusDays(4); System.out.println(now4); // 2023-09-16T15:21:06.789// 计算天数 Period between Period.between(now.toLocalDate(), now3.toLocalDate()); System.out.println(between.getDays()); // 3// 计算小时数 Duration between1 Duration.between(now.toLocalTime(), now3.toLocalTime()); System.out.println(between1.toHours()); // 0格式化 // 获取本地时间 LocalDateTime now LocalDateTime.now(); System.out.println(now); // 2023-09-20T15:25:46.454// 格式化 DateTimeFormatter dateTimeFormatter DateTimeFormatter.ofPattern(yyyy-MM-dd HH:mm:ss); String format dateTimeFormatter.format(now); System.out.println(format); // 2023-09-20 15:25:46// 解析时间格式的字符串 LocalDateTime parse LocalDateTime.parse(format, dateTimeFormatter); System.out.println(parse); // 2023-09-20T15:27:15 参考文章 LocalDateTime、OffsetDateTime、ZonedDateTime互转这一篇绝对喂饱你
http://www.pierceye.com/news/95688/

相关文章:

  • 如何免费发布个人网站网站项目需求分析
  • 太原免费网站建设网站开发合作协议书
  • 深圳龙华做网站上海响应式网站制作公司
  • 招投标 网站建设专业型网站和个人网站
  • 网站建设需要那些基础增城线上教学
  • 专注移动网站建设免费咨询电脑维修
  • 六里桥做网站公司惠州做网站 百度优化
  • 做网站怎么选择上市公司wordpress 进销存
  • 做视频网站用哪个模板昆明贤邦网站建设
  • 自建网站工具wordpress仿内涵段子
  • 做推广最好的网站是哪个菜鸟网站建设
  • 首钢建设公司网站微信网站怎么做的好处
  • 西安网站开发费用网站即将 模板
  • 个人做商业网站需要什么热门网站建设代理
  • 企业网站手机端和pc端一个后台吗企业网站管理系统的运维服务
  • 北京官网开发优化游戏性能的软件
  • 网站开发选asp还是hph集约化网站群建设情况
  • 做网站域名重要吗10000ip网站怎么做
  • 途牛的旅游网站是谁做的wordpress 注册用户列表
  • 如何编辑网站新吁网站建设
  • 网站开发采集工具免费引流在线推广
  • 全面的锦州网站建设西安建筑工程有限公司
  • 做网站 郑州公司哪家好哪个购物网站最便宜
  • dedecms网站后台免费网页小游戏
  • 如何查网站外链wordpress火车头采集免费版
  • 四川住房建设和城乡建设厅新网站wordpress 采集 api
  • 企业所得税怎么交南昌seo实用技巧
  • 深圳英文网站开发企业网站和展板建设
  • 国内网站设计制作网页游戏传奇盛世开服表
  • 网站图片放大特效怎么做网站建设的后期服务要包括什么软件