You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/07/16 11:37:02 UTC
[commons-lang] branch master updated: Add since tag
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new fc7d83bf8 Add since tag
fc7d83bf8 is described below
commit fc7d83bf84a57d50ea924887a8b348f6029faa87
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jul 16 07:36:43 2022 -0400
Add since tag
---
src/main/java/org/apache/commons/lang3/time/DurationUtils.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main/java/org/apache/commons/lang3/time/DurationUtils.java b/src/main/java/org/apache/commons/lang3/time/DurationUtils.java
index cd16301ec..5bf2ebbae 100644
--- a/src/main/java/org/apache/commons/lang3/time/DurationUtils.java
+++ b/src/main/java/org/apache/commons/lang3/time/DurationUtils.java
@@ -124,6 +124,7 @@ public class DurationUtils {
*
* @param startInclusive the start instant, inclusive, not null.
* @return a {@link Duration}, not null.
+ * @since 3.13.0
*/
public static Duration since(final Temporal startInclusive) {
return Duration.between(startInclusive, Instant.now());