Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-261

Date/time field constructors use current time by default

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.1
    • Component/s: Engine
    • Labels:
      None

      Description

      The TransactionTime() constructor in version 1.2.1 used to return a TransactionTime with the current system time in it, and this has changed in the 1.3.0 where the time of the first call to this constructor is returned. Is this intentional? There's no Javadocs, so I can't tell for sure.

      If this is not intentional, the problem lies with the createDate() method of quickfix.DateField.java:

      private static Date createDate() {
      synchronized (calendar)

      { return calendar.getTime(); }

      }

      where calendar is also static.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              qiyan@oanda.com Qiyan Li
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: