No. Only ISO weeks are supported.

(Personally, I find the notion of considering a week starting on
Sunday very strange, but there you go...)

Stephen


2009/10/30 David Hoffer <dhoff...@gmail.com>:
> I didn't know ISO had different weeks then the normal calendar.  Is there a
> way to configure JodaTime to use the normal calendar?
>
>
> On Thu, Oct 29, 2009 at 8:56 PM, Brian S O'Neill <bro...@gmail.com> wrote:
>>
>> http://en.wikipedia.org/wiki/ISO_8601#Week_dates
>>
>> David Hoffer wrote:
>> > Why does calling getWeekOfWeekyear() always return the prior week if
>> > the date is a Sunday?  E.g.
>> >
>> > DateTime dt = fmt.parseDateTime("20091108");
>> > dt.getWeekOfWeekyear();
>> >
>> > will return 45 instead of 46.  All other days in that week i.e. Nov 09
>> > thru 14 do return 46.  It doesn't matter what week I pick, Sunday will
>> > always be in the week before.
>> >
>> > Is this a time zone thing?  I'm not specifying the time just the date
>> > so the time might be 0h0m0s but isn't a date good enough to determine
>> > the week of the year?
>> >
>> > -Dave
>> >
>> > ------------------------------------------------------------------------
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> > is the only developer event you need to attend this year. Jumpstart your
>> > developing skills, take BlackBerry mobile applications to market and
>> > stay
>> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> > http://p.sf.net/sfu/devconference
>> > ------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Joda-interest mailing list
>> > Joda-interest@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/joda-interest
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> Joda-interest mailing list
>> Joda-interest@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/joda-interest
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Joda-interest mailing list
> Joda-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/joda-interest
>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to