Skip to content

TaskScheduler interface should support java.time.Instant/Duration [SPR-14875] #19441

Closed

Description

@spring-projects-issues

Periata Breatta opened SPR-14875 and commented

For the sake of convenience, the task scheduler interface should be modernized to support Java 8 improvements in date & time handling. At the very least, methods accepting a java.util.Date should have an overload accepting a java.time.Instant, while methods taking a long millisecond count should have an overload accepting a java.time.Duration. These can, of course, be implemented trivially using default methods.


Affects: 5.0 M2

Issue Links:

Referenced from: commits 313c89d

Activity

  1. added
    type: enhancement
    in: core
    on Jan 11, 2019
  2. added this to the 5.0 M4 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