commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rory Winston" <rwins...@eircom.net>
Subject RE: [lang] Enhancement proposal for DateUtils
Date Sun, 12 Sep 2004 14:22:33 GMT
This is a good point. I spent some time working on a project in Saudi
Arabia, and our "weekend" was Wednesday and Thursday. Which is not much fun
when the UK and US offices are working on a Sat/Sun weekend (which basically
means you end up working a seven-day week)... :)


Rory

-----Original Message-----
From: Stephen Colebourne [mailto:scolebourne@btopenworld.com]
Sent: 12 September 2004 15:06
To: Jakarta Commons Developers List
Subject: Re: [lang] Enhancement proposal for DateUtils


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.

Stephen

----- Original Message -----
From: "Sean Schofield" <sean_schofield@schof.com>
> 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
need
> 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: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message