S. Isaac Dealey wrote:
> good to know.

well it should save some poking around.

>>rather you would be using java.util.GregorianCalendar
> 
> What's the issue with using the java.util.Calendar class anyway? I
> couldn't find much (any?) difference between them from looking at the
> documentation.

because Calendar is an abstract class so when you do a getInstance(), 
you should be getting the concrete GregorianCalendar class anyway. also 
there are several more methods in the GregorianCalendar including many 
more ways of doing an init (which you'll eventually find useful).

> That's what I meant -- just that in Java, the week is always counted
> from sunday, and the value of first-day-of-week is an adjustment
> applied against that, so that, if you're working with a calendar
> formula and you're asked to get "the first day of the week" it has to

"the first day of the week"? not sure what you mean. week start is 
static. or do you mean first day of a given week?

> include that offset and it seems I remember my testing showing the CF
> native DayOfWeek() function always returning a sunday-based index. I

so will java, even icu4j. the weekday fields are static, they have to 
be. if you really need finer control/calendar metadata then icu4j is the 
best choice.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202372
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to