mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-3186 a little bonus: date/time format demos
X-SVN-Rev: 16467
This commit is contained in:
parent
27f2a4bc01
commit
e6d6d3715b
1 changed files with 14 additions and 2 deletions
|
@ -690,9 +690,21 @@ public class LDMLComparator {
|
|||
}
|
||||
if(m_Vetting) {
|
||||
String altText = (String)element.platformData.get("ALT");
|
||||
writer.print("<td>" + value + "</td>");
|
||||
writer.print("<td>" + value);
|
||||
String parName = mapToAbbr(element.parentNode);
|
||||
if ((parName.indexOf("_dateFormat")!=-1)
|
||||
|| (parName.indexOf("_timeFormat")!=-1))
|
||||
{
|
||||
writer.print("<form method=\"POST\" action=\"http://oss.software.ibm.com/cgi-bin/icu/lx/\">" +
|
||||
"<input type=hidden name=\"_\" value=\"" + localeStr + "\"/>" +
|
||||
"<input type=hidden name=\"x\" value=\"" + "dat" + "\"/>" +
|
||||
"<input type=hidden name=\"str\" value=\"" + value + "\"/>" +
|
||||
"<input type=submit value=\"" + "Test" + "\"/>" +
|
||||
"</form>");
|
||||
}
|
||||
writer.print("</td>");
|
||||
if(altText!=null) {
|
||||
writer.print(" <td bgcolor="+ALT_COLOR+">"+altText);
|
||||
writer.print(" <td bgcolor="+ALT_COLOR+">"+altText);
|
||||
writer.print("</td>\n");
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue