Skip to content

Add conversion support for Joda Duration and Period [SPR-6706] #11372

Closed

Description

@spring-projects-issues

Kenny MacLeod opened SPR-6706 and commented

Spring 3 introduced formatting support for JodaTime's LocalDate, LocalTime, DateTime and ReadableInstant.

Can we please also have support for Duration and Period, using the ISO standard formats, e.g. PT1H2M


Affects: 3.0 GA

Issue Links:

Referenced from: commits bc0b707

7 votes, 6 watchers

Activity

  1. spring-projects-issues commented on Jan 4, 2012

    @spring-projects-issues
    CollaboratorAuthor

    Ivor Prebeg commented

    Still not implemented?

  2. spring-projects-issues commented on Apr 19, 2012

    @spring-projects-issues
    CollaboratorAuthor

    deng hui commented

    is it implemented or not in latest release?

  3. spring-projects-issues commented on Apr 19, 2012

    @spring-projects-issues
    CollaboratorAuthor

    deng hui commented

    one more question, can you support coverting JSON String to a type?
    I know it's supported in @ResponseBody, but how about using @ModelAttribute to bind parameters?

  4. spring-projects-issues commented on May 2, 2012

    @spring-projects-issues
    CollaboratorAuthor

    deng hui commented

    I am blocked here, is there a workaround for this conversion?

  5. spring-projects-issues commented on May 10, 2012

    @spring-projects-issues
    CollaboratorAuthor

    Chris Beams commented

    deng, Ivor, Kenny,

    This should be pretty straightforward to implement; please consider submitting a pull request with the necessary changes, per the contributor guidelines. There's still time for this to make it into 3.2 M1, which we'll release a couple weeks from now.

  6. spring-projects-issues commented on Nov 25, 2015

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

    Finally added for 4.2.4, along with #18294 doing the same for JSR-310...

    Juergen

  7. added
    type: enhancement
    in: core
    on Jan 11, 2019
  8. added this to the 4.2.4 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: coretype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions