Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-177

ConceptDatatype should support isTime() and isDatetime()

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.7.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      Currently, ConceptDatatype.isDate() returns true if the concept is a Date, Time, or Datetime.

      We should create isTime() and isDatetime() methods so that we can test if a concept is specifically of type Time or Datetime.

      We will have to figure out an elegant way of handling isDate(), because ideally we'd now want isDate() to return true only if the concept is of type Date, but we will need to maintain backwards compatibility.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              firzhan Firzhan Naqash [X] (Inactive)
              Reporter:
              mogoodrich Mark Goodrich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: