[ 
https://issues.apache.org/jira/browse/LANG-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pascal Schumacher closed LANG-556.
----------------------------------
    Resolution: Won't Fix

As discussed on the mailing list, we won't add new features related to 
java.util.Date. See 
https://mail-archives.apache.org/mod_mbox/commons-dev/201704.mbox/%3Cac296ba2-c9ef-2d6f-271e-d4699690581d%40gmx.net%3E
 for details.

> Add methods for constructing dates to DateUtils
> -----------------------------------------------
>
>                 Key: LANG-556
>                 URL: https://issues.apache.org/jira/browse/LANG-556
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.time.*
>            Reporter: Ben Arnold
>            Priority: Minor
>
> It is often really useful to be able to get a date in one line of code, 
> particularly in unit tests. It is also handy to be able to obtain the current 
> time in a specified timezone.
> It would be great to have methods like these on DateUtils:
> Date now(TimeZone)
> Date nowUtc()
> Date createDate(int year, int month, int day) // local time
> Date createDate(int year, int month, int day, int hour, minute, int second) 
> // local time
> Date createDateUtc(int year, int month, int day)
> Date createDateUtc(int year, int month, int day, int hour, minute, int second)
> Date createDate(TimeZone timeZone, int year, int month, int day)
> Date createDate(TimeZone timeZone, int year, int month, int day, int hour, 
> minute, int second)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to