Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Joda-Timeライブラリで週を表す最良の方法は何ですか? YearMonth月を表すのと同じくらいエレガントなものを探しています。
YearMonth
いくつか検索した後Partial、この問題のクラスを使用して解決策を見つけました。
Partial
Partial yearWeek = new Partial( new DateTimeFieldType[] {DateTimeFieldType.weekyear(), DateTimeFieldType.weekOfWeekyear()}, new int[] {year, week});