Java DateTimeFormatter Concerns with New Year Processing for ESP
search cancel

Java DateTimeFormatter Concerns with New Year Processing for ESP

book

Article ID: 385216

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

There is a possible issue going into the new year when applications may use the incorrect data time under the Java DateTimeFormatter class.  

The issue is when an application uses the wrong format "YYYY” which is week-based-year.  It appears that applications using this format would be going to 12/30/2025 instead of 12/30/2024.  To avoid this issue, applications should be using “yyyy” which is year-of-era.   Are there any issues or special considerations for ESP and its components?  

Environment

Component: ESP REST API, ESP WEB UI, Agent Manager
Release: ALL

Resolution

ESP uses "yyyy" for dates formatting so there should not be any issue.