Watson Supply Chain Ideas

Use this form to submit an idea for a new product feature. The product team will review your input and provide status updates as decisions are made regarding the request.

Before you submit a new idea, please view requests that have already been submitted. If your idea has already been submitted, you can add comments or vote on the existing idea, thereby indicating your agreement with the idea. We may use this information to help prioritize development of new features.


Submit ideas for Watson Marketing and Watson Commerce products

com.sterlingcommerce.bpn.userexits.TimeZoneConverter needs error handling added to tolerate invalid times

This class was built to help convert date/time values between timezones and GMT. It fails today if the date/time given does not exist such as 3/8/2015 02:30:00 ET. Since this is the day of Daylight Saving Time, times between 2am and 2:59am that day don't exist for most timezones. Some Trading Partners don't switch their clocks properly and still send these invalid times. The java class needs to be tolerant of them.

Attached is java source code used at Schneider for parsing date/time values. When it gets a ParseException, it tries again with setLenient(true). Code is attached for your review.
  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Dec 21 2017
  • Uncommitted Candidate
How will this idea be used?
What is your industry?
What is the idea priority? High
DeveloperWorks ID DW_ID68135
Link to original RFE http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=68135
  • Attach files