Backport of functionality based on JSR-310 to Java SE 6 and 7. This is NOT an implementation of JSR-310.