commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <>
Subject Re: [lang] Enhancement proposal for DateUtils
Date Sun, 12 Sep 2004 14:06:15 GMT
Its a point for debate really. It might be OK to define SatSun weekends as a
default, but an API should probably be framed to allow the avoidance of any
day of week combination. And that can get to be a tricky API to define.


----- Original Message -----
From: "Sean Schofield" <>
> I agree that this limits you to 'western' calendars.  Do non-western
> calendars have the concept of a weeekend?  I think there are enough people
> using the Gregorian calendar for these methods to be useful.  I guess it
> depends on the overall policy of whether things that go in commons lang
> to be country neutral.  Is that the policy/general practice?
> Don't some of the constants and methods in DateUtils implictly assume a
> Gregorian calendar?  Are you opposed to including these methods or are you
> just throwing the issue out there for debate?
> sean
> > The main problem is that the concept of weekday/weekend as Mon-Fri and
> > Sat-Sun is a 'western' one. There is a significant portion of the world
> > that
> > uses other measures.
> >
> > Stephen
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message