Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-585

Multiple redundant properties/fields for epoch

    Details

      Description

      Right now there are three distinct formats for getting and setting spacecraft epoch:

      1. Spacecraft.DateFormat/Spacecraft.Epoch (set only)
      2. Spacecraft.A1ModJulian (get everywhere, set in command mode only)
      3. Spacecraft.Epoch.A1ModJulian (get, set)

      Questions:

      1. Do these exist in R2011a? If so, we need to treat as a backwards-compatibility issue.
      2. Is there any reason to prefer one over the others?
      3. Can we deprecate any of them?

      I personally prefer the format of #3 over #2, if that doesn't cause any issues in other places (ParameterSelectDialog?).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              jjkparker Joel Parker added a comment -

              To answer the first question: it appears that all of these do exist in R2011a, so we can't just delete any of them.

              Show
              jjkparker Joel Parker added a comment - To answer the first question: it appears that all of these do exist in R2011a, so we can't just delete any of them.
              Hide
              shughes Steven Hughes added a comment -

              CCB Decision: Try to make get/set behavior consistent but leave the different approaches.

              Show
              shughes Steven Hughes added a comment - CCB Decision: Try to make get/set behavior consistent but leave the different approaches.
              Hide
              jjkparker Joel Parker added a comment -

              Updating based on feature spec recommendation.

              Show
              jjkparker Joel Parker added a comment - Updating based on feature spec recommendation.

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated: