如何设置 DateTimeFormat 以显示如下内容:“wed.-sun.” “星期一-太阳。” “星期一-太阳。” “星期一-太阳。” “周一至周二”
DateTimeFormat dtfDate = DateTimeFormat.getFormat("dd.MM");
if (rt.detalization.equals("date")) {
dtfDate = DateTimeFormat.getFormat("dd.MM");
}
if (rt.detalization.equals("week")) {
dtfDate = DateTimeFormat.getFormat("EEE.dd-EEE.dd");
//how can show week from choisen day to sunday like I wrote before
}
if (rt.detalization.equals("month")) {
dtfDate = DateTimeFormat.getFormat("MMM");
}