extendedHrMinSecSs);
}
public void testConfigurations(Iso8601UnitTime t, String basicAns,
String extendedAns) {
FormatOptions fo = new FormatOptions();
fo.setExtended(false);
fo.setIncludeTzMinIfZero(true);
fo.setPrecedeWithT(false);
Iso8601TimeFormatter tf = new Iso8601TimeFormatter(fo);
assertEquals(tf.format(t), basicAns);
fo.setPrecedeWithT(true);
tf = new Iso8601TimeFormatter(fo);
assertEquals(tf.format(t), "T" + basicAns);
fo.setPrecedeWithT(false);
fo.setExtended(true);
tf = new Iso8601TimeFormatter(fo);
assertEquals(tf.format(t), extendedAns);
fo.setPrecedeWithT(true);
tf = new Iso8601TimeFormatter(fo);
assertEquals(tf.format(t), "T" + extendedAns);
}