Comments on the JDatePicker UI Component draft JEP

Tejesh R tejesh.r at oracle.com
Mon Oct 6 06:54:09 UTC 2025


Hello Hampus,

                Firstly, thank you so much for going through the draft JEP and providing with the feedback.

  1.  Support for FirstDayOfWeek : This has been taken care in the current JEP. Default FirstDayOfWeek will be fetched from set Locale, and it can be overridden using setter method.
  2.  Support for showing week numbers : Currently we haven’t included this feature, might have to re-think on this. Thanks for the heads-up on this feature.

Regards,
Tejesh R



Confidential – Oracle Internal
From: client-libs-dev <client-libs-dev-retn at openjdk.org> on behalf of Hampus Ram <hampus.ram at gmail.com>
Date: Wednesday, 1 October 2025 at 5:53 PM
To: "client-libs-dev at openjdk.org" <client-libs-dev at openjdk.org>
Subject: Comments on the JDatePicker UI Component draft JEP

Hello,

Saw the draft JEP for the JDatePicker UI Component  (and the accompanying issue JDK-8368874) and thought I'd chime in with some observations (that may have very well already been considered) but that I think would be necessary for me to use such a control in an application.

A feature that I have found lacking in other date picker components in the past, and that isn't fully clear if it is intended to be supported in this JEP is using WeekFields.getFirstDayOfWeek() or similar. The examples all start on a sunday, but in many places around the world the week starts on a monday. The calendar should be able to reflect that and maybe that should be clarified somewhere?

Another feature often missing or neglected that I'm fairly certain isn't at all in the JEP is the ability to show week numbers. At least here in Sweden many organizations (and most schools) use week numbers for recurring things such as vacation and school holidays. Of course this is also something that works differently in different locales and would need to be handled correctly. However I don't think it needs to be anything other than a visual component, you do not need to be able to select a week by clicking it or supporting any other interaction.

Just my two cents :)
Regards,
Hampus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/client-libs-dev/attachments/20251006/1f961c16/attachment.htm>


More information about the client-libs-dev mailing list