OpenJDKの日時関係の書式変換

OpenJDKのCalendarクラスの文字列変換書式の備忘録
(formatterクラス)

System.out.print( String.format(?”%1$tY年 %1$tB %1$te日 %1$ta曜日”,cal));

A=Monday
B=September
C=20
D=09/17/12
F=2012-09-17
H=11
L=681
M=41
N=778000000
Q=1347849716681
R=11:41
S=56
T=11:41:56
Y=2012
Z=JST

a=Mon
b=Sep
c=Mon Sep 17 11:47:05 JST 2012
d=17
h=Sep
l=11
m=09
r=11:47:05 AM
s=1347850025
y=12
z=+0900

Written By ぽ
(2012/06/18)