11/*
2- * Copyright 2016-2018. the original author or authors.
2+ * Copyright 2016-2021 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -1835,7 +1835,7 @@ default T secondOf(AggregationExpression expression) {
18351835 * @param millisecond must not be {@literal null}.
18361836 * @return new instance.
18371837 * @throws IllegalArgumentException if given {@literal millisecond} is {@literal null}
1838- * @deprecated use {@link #millisecond(Object)} instead.
1838+ * @deprecated since 3.0.7, use {@link #millisecond(Object)} instead.
18391839 */
18401840 @ Deprecated
18411841 default T milliseconds (Object millisecond ) {
@@ -1849,6 +1849,7 @@ default T milliseconds(Object millisecond) {
18491849 * @param millisecond must not be {@literal null}.
18501850 * @return new instance.
18511851 * @throws IllegalArgumentException if given {@literal millisecond} is {@literal null}
1852+ * @since 3.0.7
18521853 */
18531854 T millisecond (Object millisecond );
18541855
@@ -1858,7 +1859,7 @@ default T milliseconds(Object millisecond) {
18581859 * @param fieldReference must not be {@literal null}.
18591860 * @return new instance.
18601861 * @throws IllegalArgumentException if given {@literal fieldReference} is {@literal null}.
1861- * @deprecated use {@link #millisecondOf(String)} instead.
1862+ * @deprecated since 3.0.7, use {@link #millisecondOf(String)} instead.
18621863 */
18631864 @ Deprecated
18641865 default T millisecondsOf (String fieldReference ) {
@@ -1871,6 +1872,7 @@ default T millisecondsOf(String fieldReference) {
18711872 * @param fieldReference must not be {@literal null}.
18721873 * @return new instance.
18731874 * @throws IllegalArgumentException if given {@literal fieldReference} is {@literal null}.
1875+ * @since 3.0.7
18741876 */
18751877 default T millisecondOf (String fieldReference ) {
18761878 return milliseconds (Fields .field (fieldReference ));
@@ -1882,7 +1884,7 @@ default T millisecondOf(String fieldReference) {
18821884 * @param expression must not be {@literal null}.
18831885 * @return new instance.
18841886 * @throws IllegalArgumentException if given {@literal expression} is {@literal null}.
1885- * @deprecated use {@link #millisecondOf(AggregationExpression)} instead.
1887+ * @deprecated since 3.0.7, use {@link #millisecondOf(AggregationExpression)} instead.
18861888 */
18871889 @ Deprecated
18881890 default T millisecondsOf (AggregationExpression expression ) {
@@ -1895,6 +1897,7 @@ default T millisecondsOf(AggregationExpression expression) {
18951897 * @param expression must not be {@literal null}.
18961898 * @return new instance.
18971899 * @throws IllegalArgumentException if given {@literal expression} is {@literal null}.
1900+ * @since 3.0.7
18981901 */
18991902 default T millisecondOf (AggregationExpression expression ) {
19001903 return milliseconds (expression );
0 commit comments