<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Parser on 知识铺的博客</title>
    <link>https://index.zshipu.com/geek/tags/Parser/</link>
    <description>Recent content in Parser on 知识铺的博客</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Wed, 06 Mar 2024 13:18:00 +0000</lastBuildDate>
    <atom:link href="https://index.zshipu.com/geek/tags/Parser/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Spring-DateTimeParser</title>
      <link>https://index.zshipu.com/geek/post/code/docs/Spring/clazz/format/Parser/Spring-DateTimeParser/</link>
      <pubDate>Wed, 06 Mar 2024 13:18:00 +0000</pubDate>
      <guid>https://index.zshipu.com/geek/post/code/docs/Spring/clazz/format/Parser/Spring-DateTimeParser/</guid>
      <description>Spring DateTimeParser 类全路径: org.springframework.format.datetime.joda.DateTimeParser 代码如下 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 public final class DateTimeParser implements Parser&amp;lt;DateTime&amp;gt; { private final DateTimeFormatter formatter; /** * Create a new DateTimeParser. * @param formatter the Joda DateTimeFormatter instance */ public DateTimeParser(DateTimeFormatter formatter) { this.formatter = formatter; } @Override public DateTime parse(String text, Locale locale) throws ParseException { // DateTimeFormatter 转换字符串事件类型 return JodaTimeContextHolder.getFormatter(this.formatter, locale).parseDateTime(text); } }</description>
    </item>
  </channel>
</rss>
