Logo Search packages:      
Sourcecode: pcalendar version File versions  Download package

void net::sf::linuxorg::pcal::engine::Engine::setDateInteger ( final Date  date,
final int  index,
Integer  value 
) [inline]

This method associates an integer with the specified date

Parameters:
date- date of the record
index- an integer index within the integers container
value- a value to be set

Definition at line 1126 of file Engine.java.

References modified, and net::sf::linuxorg::pcal::engine::DateIntsContainer::setIntValue().

Referenced by net::sf::linuxorg::pcal::engine::EngineTest::testGetSetRemoveDateIntegers().

                                                                                  {
            DateIntsContainer container = dateIntValues.get(date);
            if(container == null) {
                  dateIntValues.put(date, new DateIntsContainer(index, value));
            } else {
                  container.setIntValue(index, value);
            }
            modified = true;
      }

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index