Skip to content

Commit

Permalink
feat(policy-store-api):[eclipse-tractusx#750] make utility class fina…
Browse files Browse the repository at this point in the history
…l and private constructor
  • Loading branch information
dsmf committed Jul 12, 2024
1 parent 4b9bcbc commit de90561
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@
/**
* Date utilities.
*/
public class DateUtils {
public final class DateUtils {

private DateUtils() {
// private constructor (utility class)
}

public static boolean isDateBefore(final OffsetDateTime dateTime, final String referenceDateString) {
return dateTime.isBefore(toOffsetDateTimeAtStartOfDay(referenceDateString));
Expand Down

0 comments on commit de90561

Please sign in to comment.