Am I allowed to write Java code, run it on Sun's JDK, and use the
generated output to give me a feel for how my implementation should
work? e.g. the getZoneStrings() method of java.text.DateFormatSymbols
returns a String[][], but nothing in the API says anything about the
format of those arrays. Obviously, though, there's some kind of
convention that they're expecting, e.g. it's an array with a pair of
strings per time zone.
Can I write a program that does something like:
String[][] temp = dfs.getZoneStrings();
for (int i=0; i<temp.length; i++) {
for (int j=0; j<temp[i].length; j++) {
System.out.println("["+i+","+j+"] = "+temp[i][j]);
}
}
or does that go against the principles here?
Wes