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.
JodaTime 中是否有任何工具可以将星期几(Mon=1,Sun=7)转换为 java.util 常量集(Sun=1,Sat=7)?或者你真的必须写像
return localDate.getDayOfWeek() % 7 + 1;
?