From ccb39ccbf0bbb5382063a51779fc23b51382504e Mon Sep 17 00:00:00 2001 From: smirnovaae Date: Fri, 15 Mar 2024 13:41:40 -0700 Subject: [PATCH] changed timestamp from 12 to 24 hours format --- .../attributionDataShare/AttributionDataShareConstants.java | 2 +- optout/src/main/java/gov/cms/ab2d/optout/OptOutConstants.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/attribution-data-file-share/src/main/java/gov/cms/ab2d/attributionDataShare/AttributionDataShareConstants.java b/attribution-data-file-share/src/main/java/gov/cms/ab2d/attributionDataShare/AttributionDataShareConstants.java index 2353743..6202943 100644 --- a/attribution-data-file-share/src/main/java/gov/cms/ab2d/attributionDataShare/AttributionDataShareConstants.java +++ b/attribution-data-file-share/src/main/java/gov/cms/ab2d/attributionDataShare/AttributionDataShareConstants.java @@ -13,7 +13,7 @@ public class AttributionDataShareConstants { public static final Region S3_REGION = Region.US_EAST_1; public static final String FILE_PATH = "/tmp/"; public static final String REQ_FILE_NAME = "P#EFT.ON.AB2D.NGD.REQ."; - public static final String REQ_FILE_NAME_PATTERN = "'D'yyMMdd.'T'hhmmsss"; + public static final String REQ_FILE_NAME_PATTERN = "'D'yyMMdd.'T'HHmmsss"; public static final String FIRST_LINE = "HDR_BENEDATAREQ"; public static final String LAST_LINE = "TLR_BENEDATAREQ"; public static final String SELECT_STATEMENT = "SELECT * FROM public.current_mbi"; diff --git a/optout/src/main/java/gov/cms/ab2d/optout/OptOutConstants.java b/optout/src/main/java/gov/cms/ab2d/optout/OptOutConstants.java index b0ae898..d92dd27 100644 --- a/optout/src/main/java/gov/cms/ab2d/optout/OptOutConstants.java +++ b/optout/src/main/java/gov/cms/ab2d/optout/OptOutConstants.java @@ -20,7 +20,7 @@ public class OptOutConstants { public static final int EFFECTIVE_DATE_LENGTH = 8; public static final String LINE_SEPARATOR = System.getProperty("line.separator"); public static final String CONF_FILE_NAME = "P#EFT.ON.AB2D.NGD.CONF."; - public static final String CONF_FILE_NAME_PATTERN = "'D'yyMMdd.'T'hhmmsss"; + public static final String CONF_FILE_NAME_PATTERN = "'D'yyMMdd.'T'HHmmsss"; public static final String UPDATE_STATEMENT = "UPDATE public.coverage\n" + "SET opt_out_flag = ?, effective_date = current_timestamp\n" + "WHERE current_mbi = ? OR historic_mbis iLike CONCAT( '%',?,'%')";