1
1
/*
2
- * Copyright 2016-2018. the original author or authors.
2
+ * Copyright 2016-2021 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -1835,7 +1835,7 @@ default T secondOf(AggregationExpression expression) {
1835
1835
* @param millisecond must not be {@literal null}.
1836
1836
* @return new instance.
1837
1837
* @throws IllegalArgumentException if given {@literal millisecond} is {@literal null}
1838
- * @deprecated use {@link #millisecond(Object)} instead.
1838
+ * @deprecated since 3.2, use {@link #millisecond(Object)} instead.
1839
1839
*/
1840
1840
@ Deprecated
1841
1841
default T milliseconds (Object millisecond ) {
@@ -1849,6 +1849,7 @@ default T milliseconds(Object millisecond) {
1849
1849
* @param millisecond must not be {@literal null}.
1850
1850
* @return new instance.
1851
1851
* @throws IllegalArgumentException if given {@literal millisecond} is {@literal null}
1852
+ * @since 3.2
1852
1853
*/
1853
1854
T millisecond (Object millisecond );
1854
1855
@@ -1858,7 +1859,7 @@ default T milliseconds(Object millisecond) {
1858
1859
* @param fieldReference must not be {@literal null}.
1859
1860
* @return new instance.
1860
1861
* @throws IllegalArgumentException if given {@literal fieldReference} is {@literal null}.
1861
- * @deprecated use {@link #millisecondOf(String)} instead.
1862
+ * @deprecated since 3.2, use {@link #millisecondOf(String)} instead.
1862
1863
*/
1863
1864
@ Deprecated
1864
1865
default T millisecondsOf (String fieldReference ) {
@@ -1871,6 +1872,7 @@ default T millisecondsOf(String fieldReference) {
1871
1872
* @param fieldReference must not be {@literal null}.
1872
1873
* @return new instance.
1873
1874
* @throws IllegalArgumentException if given {@literal fieldReference} is {@literal null}.
1875
+ * @since 3.2
1874
1876
*/
1875
1877
default T millisecondOf (String fieldReference ) {
1876
1878
return milliseconds (Fields .field (fieldReference ));
@@ -1882,7 +1884,7 @@ default T millisecondOf(String fieldReference) {
1882
1884
* @param expression must not be {@literal null}.
1883
1885
* @return new instance.
1884
1886
* @throws IllegalArgumentException if given {@literal expression} is {@literal null}.
1885
- * @deprecated use {@link #millisecondOf(AggregationExpression)} instead.
1887
+ * @deprecated since 3.2, use {@link #millisecondOf(AggregationExpression)} instead.
1886
1888
*/
1887
1889
@ Deprecated
1888
1890
default T millisecondsOf (AggregationExpression expression ) {
@@ -1895,6 +1897,7 @@ default T millisecondsOf(AggregationExpression expression) {
1895
1897
* @param expression must not be {@literal null}.
1896
1898
* @return new instance.
1897
1899
* @throws IllegalArgumentException if given {@literal expression} is {@literal null}.
1900
+ * @since 3.2
1898
1901
*/
1899
1902
default T millisecondOf (AggregationExpression expression ) {
1900
1903
return milliseconds (expression );
0 commit comments