Skip to content

Commit

Permalink
Merge branch '2.2.x' into 2.3.x
Browse files Browse the repository at this point in the history
Closes gh-22665
  • Loading branch information
wilkinsona committed Jul 30, 2020
2 parents 46e12cb + 1871cff commit 7e547b6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1450,6 +1450,8 @@ These are:
* `d` for days

The default unit is milliseconds and can be overridden using `@DurationUnit` as illustrated in the sample above.
Note that `@DurationUnit` is only supported with JavaBean-style property binding using getters and setters.
It is not supported with constructor binding.

TIP: If you are upgrading a `Long` property, make sure to define the unit (using `@DurationUnit`) if it isn't milliseconds.
Doing so gives a transparent upgrade path while supporting a much richer format.
Expand Down

0 comments on commit 7e547b6

Please sign in to comment.