在Joda-Time取得特定星期的第一天?爪哇 [英] Get first day of a particular week in Joda-Time? java

查看:126
本文介绍了在Joda-Time取得特定星期的第一天?爪哇的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Joda-Time 中,有一种方法可以获取一周中第一天的日期(星期一) ).

In Joda-Time, is there a way to get the date of the first day of the week(monday).

例如,我想根据今天的当前日期11年11月21日找出本周的星期一是什么日期

for instance i want to find out what date was this weeks monday based on todays current date 21/01/11

提前加油.

我也希望找到一周结束的日期,即星期天的日期.欢呼

edit: i also wish to find the date for the end of the week i.e sunday's date. cheers

推荐答案

尝试 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆