@@ -184,7 +184,7 @@ protected BiFunction<Long, Long, Boolean> constructTruncatedEqualsFunction(
184184 switch (field ) {
185185 case YEAR :
186186 return (timestamp1 , timestamp2 ) -> true ;
187- // base YEAR
187+ // base YEAR
188188 case QUARTER :
189189 case MONTH :
190190 case WEEK :
@@ -200,7 +200,7 @@ protected BiFunction<Long, Long, Boolean> constructTruncatedEqualsFunction(
200200 .withMonth (1 )
201201 .withDayOfMonth (1 )
202202 .truncatedTo (ChronoUnit .DAYS ));
203- // base MONTH
203+ // base MONTH
204204 case DAY :
205205 case DAY_OF_MONTH :
206206 return (timestamp1 , timestamp2 ) ->
@@ -211,7 +211,7 @@ protected BiFunction<Long, Long, Boolean> constructTruncatedEqualsFunction(
211211 convertToZonedDateTime (timestamp2 , zoneId )
212212 .withDayOfMonth (1 )
213213 .truncatedTo (ChronoUnit .DAYS ));
214- // base WEEK
214+ // base WEEK
215215 case DAY_OF_WEEK :
216216 case DOW :
217217 return (timestamp1 , timestamp2 ) ->
@@ -222,40 +222,40 @@ protected BiFunction<Long, Long, Boolean> constructTruncatedEqualsFunction(
222222 convertToZonedDateTime (timestamp2 , zoneId )
223223 .with (DayOfWeek .MONDAY )
224224 .truncatedTo (ChronoUnit .DAYS ));
225- // base DAY
225+ // base DAY
226226 case HOUR :
227227 return (timestamp1 , timestamp2 ) ->
228228 convertToZonedDateTime (timestamp1 , zoneId )
229229 .truncatedTo (ChronoUnit .DAYS )
230230 .equals (convertToZonedDateTime (timestamp2 , zoneId ).truncatedTo (ChronoUnit .DAYS ));
231- // base HOUR
231+ // base HOUR
232232 case MINUTE :
233233 return (timestamp1 , timestamp2 ) ->
234234 convertToZonedDateTime (timestamp1 , zoneId )
235235 .truncatedTo (ChronoUnit .HOURS )
236236 .equals (convertToZonedDateTime (timestamp2 , zoneId ).truncatedTo (ChronoUnit .HOURS ));
237- // base MINUTE
237+ // base MINUTE
238238 case SECOND :
239239 return (timestamp1 , timestamp2 ) ->
240240 convertToZonedDateTime (timestamp1 , zoneId )
241241 .truncatedTo (ChronoUnit .MINUTES )
242242 .equals (
243243 convertToZonedDateTime (timestamp2 , zoneId ).truncatedTo (ChronoUnit .MINUTES ));
244- // base SECOND
244+ // base SECOND
245245 case MS :
246246 return (timestamp1 , timestamp2 ) ->
247247 convertToZonedDateTime (timestamp1 , zoneId )
248248 .truncatedTo (ChronoUnit .SECONDS )
249249 .equals (
250250 convertToZonedDateTime (timestamp2 , zoneId ).truncatedTo (ChronoUnit .SECONDS ));
251- // base MS
251+ // base MS
252252 case US :
253253 return (timestamp1 , timestamp2 ) ->
254254 convertToZonedDateTime (timestamp1 , zoneId )
255255 .truncatedTo (ChronoUnit .MILLIS )
256256 .equals (
257257 convertToZonedDateTime (timestamp2 , zoneId ).truncatedTo (ChronoUnit .MILLIS ));
258- // base US
258+ // base US
259259 case NS :
260260 return (timestamp1 , timestamp2 ) ->
261261 convertToZonedDateTime (timestamp1 , zoneId )
0 commit comments