[QFJ-142] Weekday session schedule and default locale == Locale.FRENCH Created: 23/Feb/07 Updated: 04/Jul/07 Resolved: 19/May/07 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.0.5 |
Fix Version/s: | 1.2.0 |
Type: | Bug | Priority: | Default |
Reporter: | Guillaume Bedard | Assignee: | Steve Bate |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
Windows XP Pro SP2, JDK 1.5.0_01 |
Issue Links: |
|
Description |
Whenever we instantiate an Initiator with the following sample session schedule settings, the engine considers that we are out of schedule because internally (in SessionSchedule.theMostRecentIntervalBefore(Calendar)), the interval start date is always after the end date for some reason: SETTINGS LOG OUTPUT As a workaround, temporarily forcing the default locale to Locale.ENGLISH and setting it back after solves the problem, but otherwise, the SessionSchedule.theMostRecentIntervalBefore(Calendar) method seems to have issues. Furthermore, having to use internationalized week day String values is also a bit awkward (see above example). Thanking you in advance, Guillaume |
Comments |
Comment by Steve Bate [ 10/May/07 ] |
I'm not sure but this may be related to |
Comment by Steve Bate [ 19/May/07 ] |
I've added tests and, by default, I'm running the unit test in a non-US locale to help catch these problems earlier in the future. |