Skip to content

SPR-13579: Support conversion from Strings to Java 8 Durations. - #891

Closed
josephw wants to merge 1 commit into
spring-projects:masterfrom
josephw:SPR-13579-conversion-to-java-time-duration
Closed

josephw wants to merge 1 commit into
spring-projects:masterfrom
josephw:SPR-13579-conversion-to-java-time-duration

Conversation

@josephw

@josephw josephw commented Oct 16, 2015

Copy link
Copy Markdown

Implement conversion from Strings to java.time.Duration instances using Duration's
parse method. This isn't the greatest format, but it simplifies wiring up
a bean that uses Duration in its API rather than (for example) long for millis.
Includes tests.

I have signed and agree to the terms of the Spring Individual Contributor License Agreement.

Implement conversion from Strings to java.time.Duration instances using Duration's
parse method. This isn't the greatest format, but it simplifies wiring up
a bean that uses Duration in its API rather than (for example) long for millis.
Includes tests.
@jhoeller jhoeller closed this Nov 25, 2015
@cskinfill

Copy link
Copy Markdown

Is this supported in spring now?

@bclozel

bclozel commented Aug 15, 2016

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants