当前位置:网站首页>DateTimeFormatter api
DateTimeFormatter api
2022-08-04 12:28:00 【AntHub】
DateTimeFormatter api
LocalDateTime localDateTime = LocalDateTime.now();
System.out.println(localDateTime);
DateTimeFormatter formatter02 = DateTimeFormatter.ofPattern("yyyy/MM/dd HH:mm:ss", Locale.CHINA);
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy/MM/dd HH:mm:ss");
System.out.println(dtf.format(LocalDateTime.now()));
System.out.println(DateTimeFormatter.ISO_DATE.format(LocalDateTime.now()));
System.out.println(DateTimeFormatter.ISO_DATE_TIME.format(LocalDateTime.now()));
边栏推荐
猜你喜欢
随机推荐
聚焦数据来源、数据质量和模型性能构建小微企业信用画像
Access Huawei game anti-addiction, click the anti-addiction pop-up window, the game crashes
两年独立开发经验程序员告诉我们赚钱的经验(听听真正赚到钱的高手做法)
【水一个徽章】
UMA & Hong Kong Polytechnic & Ali propose SP-ViT to learn 2D space prior knowledge for visual Transformer!
如何治理资源浪费?百度云原生成本优化最佳实践
Flutter教程大全合集(2022年版)
分布式链路追踪Jaeger + 微服务Pig在Rainbond上的实践分享
炫酷又高效的数据可视化大屏,做起来真的没那么难!丨极客星球
新SCADA 系统:集成边缘计算、MQTT 和云平台
LeetCode每日一题(858. Mirror Reflection)
直击面试!阿里金九银十最新面试小册 稳过!
数据中台建设(九):数据中台资产运营机制
num_workers
Two years of independent development experience Programmers tell us the experience of making money (listen to the masters who really make money)
开发小程序插件如何实现盈利?
yolo系列的head模块
Flutter强大的下拉筛选菜单gzx_dropdown_menu
ECCV 2022 | Towards Data Efficient Transformer Object Detectors
What is DevOps?Enough to read this one!