Details

    • Type: Other
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      all

      Description

      Question about expiry time problem. We set it to UTC (today: 00:00:00) and pass it down to ExpiryTime constructor.

      Date date = (09-26-2007: 00:00:00);
      // If UTC formatter is used this will print today 00:00:00 UTC
      ExpiryTime expiryTime = new ExpiryTime(date);

      The problem is when it's send over to FIX, the time zone diff is somehow added to the converted string, e.g.: 22:00 below and the main problem: today becomes today-1 (9/26 becomes 9/25).
      126=20070925-22:00:00

      Is this correct? From all the documentation I read, it seems if UTC is passed, no conversion should happen and the date to string conversion should keep it 09-26:00:00 all along.

      It would also possibly help to have another ExpiryTime(String) constructor; since FIX UTC timestamp is eventually a string.

      Thanks.
      Parag

        Attachments

          Activity

            People

            • Assignee:
              admin Steve Bate
              Reporter:
              paragmehta Parag Mehta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: