durationStrings[ 10 ] = "-P2Y3M8DT8H1M3.3S";
for( int i = 0; i < durationStrings.length; i++ )
{
String durationString = durationStrings[ i ];
Duration duration =
new Duration( durationString );
assertTrue( "Duration string \"" + durationString +
"\" not equal to returned: " + duration.toString(),
durationString.equals( duration.toString() ) );
}
}