2

We can use YearMonth in Java 8 or later like below: YearMonth .parse(yearMonth, DateTimeFormatter.ofPattern(MMYYYY)) .format(DateTimeFormatter.ofPattern(MMYY));


1

It's unwise to have a LengthMin in your table - this is redundant, and can be found as the difference between the begin and end time fields. None of your column or table names need quoting, and in most cases you also don't need to prefix the public. namespace. timestamptz is a non-standard abbreviation for timestamp with time zone; prefer standards when you ...


Only top voted, non community-wiki answers of a minimum length are eligible