Standardizing LocalDate.getDayOfWeek().getValue() in Java.time

后端 未结 0 2005
轻奢々
轻奢々 2020-12-22 03:16
int dayOfWeek = LocalDate.now().getDayOfWeek.getValue();

This code returns a different number depending on where you are (Monday might be 1 or 2). i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题