
30
Serena® Collage® 5.1.3
Chapter 3 Design-Time Component Reference
Symbol Description and pattern rules Example
'
Displays any text or characters which are
between the quotes
"'The time is' h:mm a"
displays
"The time is 10:42 AM"
"'Today"s date is' EEEE, MMMM d,
yyyy"
displays
"Today's date is
Monday
,
March 3
,
2002
"
Displays a single quote, or apostrophe
"'Today"s date is' EEEE, MMMM d,
yyyy"
displays
"Today's date is
Monday, March 3, 2002
"EE, MMMM d,
"yy"
displays
"Wed,
July 10, '02
a
Displays
"AM"
or
"PM" "h:mm a"
displays
"10:42 AM"
"h:mm:ss a"
displays
"7:21:53 PM"
d
Displays the day of the month as a number
"d"
displays
"
22"
"MM.d.yy"
displays
"03.22.02"
D
Displays the day of the year as a number
"DDD"
displays
"195"
E
Displays the day of the week as text:
EE
displays the abbreviated day of the
week
EEEE
displays the full text name of the day
"EE"
displays
"
Mon"
"EEEE"
displays
"
Monday"
"EEEE, MMMM d, yyyy"
displays
"Monday, March 3, 2002"
F
Displays the day of the week as a number
"FF"
displays
"
2
"
G
Displays the era in text AD
h
Displays the hour of the day as 1-12
"h"
displays
"10"
H
Displays the hour of the day as 0-23
"H"
displays
"21"
k
Displays the hour of the day as 1-24
"kk"
displays
"22"
K
Displays the hour of the day as 0-11
"K"
displays
"4"
m
Displays minutes as a number
"mm"
displays
"42"
"h:mm"
displays
"10:42"
M
Displays the month either as text or a number:
MM
displays the month as a number
MMM
displays the abbreviated text name of
the month
MMMM
displays the full text name of the
month
"MM"
displays
"03"
"MMM"
displays
"Mar"
"MMMM yyy"
displays
March
"2002"
s
Displays seconds as a number
"ss"
displays
"15"
"h:mm:ss"
displays
"10:42:15"
S
Displays milliseconds as a number
"SSS"
displays
"
978"
w
Displays the week in the year as a number
"ww"
displays "
42
"
W
Displays the week in the month as a number
"W"
displays
"2"
Kommentare zu diesen Handbüchern