[ 
https://issues.apache.org/jira/browse/CALCITE-5917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17757164#comment-17757164
 ] 

Julian Hyde edited comment on CALCITE-5917 at 8/22/23 2:54 AM:
---------------------------------------------------------------

Fixed as part of CALCITE-5946.


was (Author: shoothzj):
Fixed in https://issues.apache.org/jira/browse/CALCITE-5946

> Comments in TimeString class are incorrect
> ------------------------------------------
>
>                 Key: CALCITE-5917
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5917
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.35.0
>            Reporter: Mihai Budiu
>            Assignee: ZhangJian He
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 1.36.0
>
>
> Here is an example of an incorrect comment:
> {code:java}
>   /** Sets the fraction field of a {@code TimeString} to a given number
>    * of milliseconds. Nukes the value set via {@link #withNanos}.
>    *
>    * <p>For example,
>    * {@code new TimeString(1970, 1, 1, 2, 3, 4).withMillis(56)}
>    * yields {@code TIME '1970-01-01 02:03:04.056'}. */
>   public TimeString withMillis(int millis) {
> {code}
> There are several such comments.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to