net.sf.mpxj
Class CostRateTable
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<CostRateTableEntry>
net.sf.mpxj.CostRateTable
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<CostRateTableEntry>, Collection<CostRateTableEntry>, List<CostRateTableEntry>, RandomAccess
public class CostRateTable
- extends ArrayList<CostRateTableEntry>
This class represents a resource's cost rate table.
- See Also:
- Serialized Form
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
CostRateTable
public CostRateTable()
getEntryByDate
public CostRateTableEntry getEntryByDate(Date date)
- Retrieve the table entry valid for the supplied date.
- Parameters:
date - required date
- Returns:
- cost rate table entry
getIndexByDate
public int getIndexByDate(Date date)
- Retrieve the index of the table entry valid for the supplied date.
- Parameters:
date - required date
- Returns:
- cost rate table entry index
Copyright © 2012. All Rights Reserved.