Op di, 12-09-2006 te 08:00 -0500, schreef Stephen Osella:
> 1) What does the containsDate(java.util.Date) actually main?  That is, when 
> is the Date set that this method considers it to be contained within the 
> ScheduleModel?  Is it when you use setSelectedDate() or when you use 
> addEntry()?
Excellent question actually: I didn't know the answer immediately, so I
checked in the code and it turns out that it isn't used anymore! I think
it was used at some point to determine whether or not to render an entry
in a day column/cell.

> 
> 2) When do you actually call ScheduleModel.refresh()?  What is its purpose?

It is used to reload the entries in the schedule model. When you add an
entry to the database, you have to call ScheduleModel.refresh() so that
it will be shown in the schedule.

> 
> 3) How are the java.util.Date's (i.e., in setStartTime & setEndTime) 
> considered?  Are they UTC or Local or Floating?  Is there a way to use a 
> converter such as when using <h:outputText> and <f:convertDateTime> or do I 
> have to convert the dates to the internal representation (i.e., UTC or Local 
> or Floating)?

See TOMAHAWK-619 for this:
http://issues.apache.org/jira/browse/TOMAHAWK-619

> 
> 4) Is there any tutorial or more indepth documentation on ScheduleModel than 
> the javadoc's?

Aside from the examples, no... 


Reply via email to