Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15891

Duplicate dayOfWeek mapping in ejb3 DayOfWeek and DayOfMonth classes

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 27.0.0.Alpha1, 27.0.0.Final
    • None
    • EJB
    • None

    Description

      org.jboss.as.ejb3.timerservice.schedule.attribute.DayOfWeek and org.jboss.as.ejb3.timerservice.schedule.attribute.DayOfMonth classes both contain a mapping of dayOfWeek string value to int.
      They should be combined into one. 

      Note that the mapped int value in DayOfWeek class is 0 - 6, but in DayOfMonth class is 1 - 7 (Calendar.SUNDAY - Calendar.SATURDAY).

      Attachments

        Issue Links

          Activity

            People

              cfang@redhat.com Cheng Fang
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: