Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-39598

Provide alternative methods to Sakai Time object

    Details

    • Type: Task
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.8.x
    • Fix Version/s: 2.9.x
    • Component/s: Kernel
    • Labels:

      Description

      Currently the sui generis Sakai Time interface is deprecated as java.util.Date should rather be used. However many sakai objects offer no alternatives as they return Time objects.

      The api's shoudl offer an alternative method that returns a Date with the origional time one marked as deprecated. On can convert from a Time to date as:

      Time m_lastModifiedTime ...
      new Date(m_lastModifiedTime.getTime()

      and

      Time mytime = timeService().newTime(new Date().getTime());

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                k1team KERNEL TEAM (Inactive)
                Reporter:
                dhorwitz David Horwitz
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Git Integration