Skip to content

Commit

Permalink
Update vertx-pg-client/src/main/java/io/vertx/pgclient/data/Interval.…
Browse files Browse the repository at this point in the history
…java
  • Loading branch information
tsegismont authored Sep 16, 2024
1 parent 009b8bf commit 601c706
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public static Interval of(int years) {
/**
* Creates an instance from the given {@link Duration}.
* <p>
* The conversion algorithm assumes a year last 12 months and a month lasts 30 days, as <a href="https://github.com/postgres/postgres/blob/5bbdfa8a18dc56d3e64aa723a68e02e897cb5ec3/src/include/datatype/timestamp.h#L116">Postgres does</a> and ISO 8601 suggests.
* The conversion algorithm assumes a year lasts 12 months and a month lasts 30 days, as <a href="https://github.com/postgres/postgres/blob/5bbdfa8a18dc56d3e64aa723a68e02e897cb5ec3/src/include/datatype/timestamp.h#L116">Postgres does</a> and ISO 8601 suggests.
*
* @param duration the value to convert
* @return a new instance of {@link Interval}
Expand Down

0 comments on commit 601c706

Please sign in to comment.