当前位置:网站首页>Hutool tool class learning (continuous update)
Hutool tool class learning (continuous update)
2022-06-29 13:03:00 【coder chen】
https://www.hutool.cn/docs/#/
Type conversion Convert
- Convert to string :int Turn the string , Array to string
- Convert to array of specified type : An array of types to another type , for example string turn int
- Convert to date object :String–>date
- Convert to set :
- Encoding conversion :utf-8,GBK etc.
- Amount case conversion
- Digital conversion : Numbers -》 english , Digital simplification , Numbers -》 chinese , Digital Chinese -》 Numbers
- Original class and wrapper class conversion (java There is no automatic packing , Unpacking mechanism ?)
- Custom type conversion , You can expand on your own
Date time
DateUtil
- Date,long,Calendar Mutual conversion between
- String to date
- Format date output
- obtain Date A part of an object
- Start and end time ( Zhou , month , year ……)
- Date time offset
- Date time difference
- Format time difference
DateTime
- Use DateTime Object can completely replace the development of Date Use of objects .
Lunar date -ChineseDate
- Traditional festivals , Heavenly stems and earthly branches
LocalDateTime
- in the light of JDK8+ date API Encapsulation , The functions of this tool class include
LocalDateTimeandLocalDateParsing 、 format 、 transformation
Timer tool TimeInterval
- Hutool Through encapsulation
TimeIntervalRealize the timer function , That is, the execution time of the method or process can be calculated .
IO Stream correlation
边栏推荐
- 二十三、1-Bit数据的存储(延迟线/磁芯/DRAM/SRAM/磁带/磁盘/光盘/Flash SSD)
- Can software related inventions be patented in India?
- 如果我在深圳,到哪里开户比较好?另外想问,现在在线开户安全么?
- leetcode 522. 最长特殊序列 II
- Pygame 对图像进行翻转
- 3D model downloading and animation control
- Unexpected ‘debugger‘ statement no-debugger
- bind原理及模拟实现
- 推荐模型复现(二):精排模型DeepFM、DIN
- 三维模型下载与动画控制
猜你喜欢

Cereal mall project

Schiederwerk Power Supply repair smps12 / 50 pfc3800 Analysis

OPC of Beifu twincat3_ UA communication test case

在印度与软件相关的发明可不可以申请专利?

倍福TwinCAT3 的OPC_UA通信测试案例

ArcGIS中对面状河流进行等距分段【渐变赋色、污染物扩散】

【智能QbD风险评估工具】上海道宁为您带来LeanQbD介绍、试用、教程

SCHIEDERWERK電源維修SMPS12/50 PFC3800解析

Detailed explanation on configuration and commissioning of third-party servo of Beifu TwinCAT -- Taking Huichuan is620n as an example

【云原生】2.4 Kubernetes 核心实战(中)
随机推荐
Comment calculer Win / Tai / Loss in paired t - test
[intelligent QBD risk assessment tool] Shanghai daoning brings you leanqbd introduction, trial and tutorial
PyGame flips the image
Deep understanding of volatile keyword
MFC dialog program core -isdialogmessage function -msg message structure -getmessage function -dispatchmessage function
Async principle implementation
QQ集体被盗号,猝不及防的大型社死名场面
【智能QbD风险评估工具】上海道宁为您带来LeanQbD介绍、试用、教程
RT-Thread内存管理
Beifu controls the third-party servo to follow CSV mode -- Taking Huichuan servo as an example
23、 1-bit data storage (delay line / core /dram/sram/ tape / disk / optical disc /flash SSD)
File contained log poisoning (user agent)
[environment configuration]pwc-net
2022.6.28-----leetcode.324
C#实现二叉树非递归中序遍历程序
C # indexe l'arbre binaire en traversant l'ordre moyen
ZALSM_EXCEL_TO_INTERNAL_TABLE 导入数据大问题解决
墨菲安全入选中关村科学城24个重点项目签约
535. encryption and decryption of tinyurl: design a URL simplification system
If I am in Shenzhen, where can I open an account? In addition, is it safe to open an account online now?