pattern=//
时间: 2023-09-13 17:11:51 浏览: 87
pattern=是一个用于定义日期时间格式的参数。在引用中,@JsonFormat注解中的pattern="yyyy-MM-dd HH:mm:ss"表示日期时间的格式应该是年-月-日 时:分:秒"的形式。这个参数的作用是告诉程序如何将日期时间对象格式化为字符串或者将字符串解析为日期时间对象。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Gof design pattern 中文/英文版+web+学习笔记](https://download.csdn.net/download/zjlallen/9626232)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [@JsonFormat(pattern=“yyyy-MM-dd HH:mm:ss“)时差问题](https://blog.csdn.net/weixin_46068874/article/details/118493859)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文