Skip to content

Commit 033254f

Browse files
author
371718330@qq.com
committed
获得星期简称
1 parent af44078 commit 033254f

File tree

1 file changed

+10
-0
lines changed
  • CommonUtil/src/main/java/com/jingewenku/abrahamcaijin/commonutil

1 file changed

+10
-0
lines changed

CommonUtil/src/main/java/com/jingewenku/abrahamcaijin/commonutil/AppDateMgr.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,6 +1449,16 @@ public static String month(Date date) {
14491449
return String.format("%tm", date);
14501450
}
14511451

1452+
/**
1453+
*获得星期简称
1454+
*
1455+
* @param date
1456+
* @return
1457+
*/
1458+
public static String week_referred(Date date) {
1459+
return String.format("%ta", date);
1460+
}
1461+
14521462

14531463

14541464

0 commit comments

Comments
 (0)