Uses of Class
net.sf.mpxj.TimeUnit

Packages that use TimeUnit
net.sf.mpxj   
net.sf.mpxj.junit   
net.sf.mpxj.mpd   
net.sf.mpxj.mspdi   
net.sf.mpxj.utility   
 

Uses of TimeUnit in net.sf.mpxj
 

Methods in net.sf.mpxj that return TimeUnit
 TimeUnit ProjectHeader.getDefaultDurationUnits()
          Gets Default Duration units.
 TimeUnit ProjectHeader.getDefaultWorkUnits()
          Default work units.
static TimeUnit TimeUnit.getInstance(int type)
          Retrieve an instance of the enum based on its int value.
static TimeUnit TimeUnit.getInstance(Number type)
          Retrieve an instance of the enum based on its int value.
 TimeUnit Task.getLevelingDelayFormat()
          Retrieve the leveling delay format.
 TimeUnit CostRateTableEntry.getOvertimeRateFormat()
          Retrieves the format used when displaying the overtime rate.
 TimeUnit Resource.getOvertimeRateUnits()
          Retrieves the format of the overtime rate.
 TimeUnit CostRateTableEntry.getStandardRateFormat()
          Retrieves the format used when displaying the standard rate.
 TimeUnit Resource.getStandardRateUnits()
          Retrieves the format of the standard rate.
 TimeUnit Rate.getUnits()
          Accessor method to retrieve the time units.
 TimeUnit Duration.getUnits()
          This method is used to retrieve the type of units the duration is expressed in.
 TimeUnit ResourceAssignment.getVariableRateUnits()
          Retrieve the variable rate time units, null if fixed rate.
static TimeUnit TimeUnit.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TimeUnit[] TimeUnit.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in net.sf.mpxj with parameters of type TimeUnit
static Duration Duration.convertUnits(double duration, TimeUnit fromUnits, TimeUnit toUnits, double minutesPerDay, double minutesPerWeek, double daysPerMonth)
          This method provides an approximate conversion between duration units.
static Duration Duration.convertUnits(double duration, TimeUnit fromUnits, TimeUnit toUnits, ProjectHeader defaults)
          This method provides an approximate conversion between duration units.
 Duration Duration.convertUnits(TimeUnit type, ProjectHeader defaults)
          This method provides an approximate conversion between duration units.
static Duration Duration.getInstance(double duration, TimeUnit type)
          Retrieve an Duration instance.
static Duration Duration.getInstance(int duration, TimeUnit type)
          Retrieve an Duration instance.
 Duration ProjectCalendar.getWork(Date startDate, Date endDate, TimeUnit format)
          This method retrieves a Duration instance representing the amount of work between two dates based on this calendar.
 Duration ProjectCalendar.getWork(Date date, TimeUnit format)
          Retrieves the amount of work on a given day, and returns it in the specified format.
 void ProjectHeader.setDefaultDurationUnits(TimeUnit units)
          Default duration units.
 void ProjectHeader.setDefaultWorkUnits(TimeUnit units)
          Default work units.
 void Task.setLevelingDelayFormat(TimeUnit levelingDelayFormat)
          Set the leveling delay format.
 void Resource.setOvertimeRateUnits(TimeUnit units)
          Sets the format of the overtime rate.
 void Resource.setStandardRateUnits(TimeUnit units)
          Sets the format of the standard rate.
 void ResourceAssignment.setVariableRateUnits(TimeUnit variableRateUnits)
          Set the variable rate time units, null if fixed rate.
 

Constructors in net.sf.mpxj with parameters of type TimeUnit
CostRateTableEntry(Rate standardRate, TimeUnit standardRateFormat, Rate overtimeRate, TimeUnit overtimeRateFormat, Number costPerUse, Date endDate)
          Constructor.
Rate(double amount, TimeUnit time)
          This constructor builds an instance of this class from a currency amount and a time unit.
Rate(Number amount, TimeUnit time)
          This constructor builds an instance of this class from a currency amount and a time unit.
 

Uses of TimeUnit in net.sf.mpxj.junit
 

Methods in net.sf.mpxj.junit with parameters of type TimeUnit
protected  void MPXJTestCase.assertEquals(double expectedDuration, TimeUnit expectedUnits, Duration duration)
          Assert method used to test durations.
 

Uses of TimeUnit in net.sf.mpxj.mpd
 

Methods in net.sf.mpxj.mpd that return TimeUnit
static TimeUnit MPDUtility.getDurationTimeUnits(int type)
          This method converts between the duration units representation used in the MPP file, and the standard MPX duration units.
 

Methods in net.sf.mpxj.mpd with parameters of type TimeUnit
static Duration MPDUtility.getAdjustedDuration(ProjectFile file, int duration, TimeUnit timeUnit)
          Given a duration and the time units for the duration extracted from an MPP file, this method creates a new Duration to represent the given duration.
static Duration MPDUtility.getDuration(double value, TimeUnit type)
          Reads a duration value.
 

Uses of TimeUnit in net.sf.mpxj.mspdi
 

Methods in net.sf.mpxj.mspdi that return TimeUnit
static TimeUnit DatatypeConverter.parseDurationTimeUnits(BigInteger value)
          Parse duration time units.
static TimeUnit DatatypeConverter.parseTimeUnit(Number value)
          Parse time unit.
static TimeUnit DatatypeConverter.parseWorkUnits(BigInteger value)
          Parse work units.
 

Methods in net.sf.mpxj.mspdi with parameters of type TimeUnit
static Duration DatatypeConverter.parseDuration(ProjectFile file, TimeUnit defaultUnits, String value)
          Parse a duration.
static Duration DatatypeConverter.parseDurationInTenthsOfMinutes(ProjectHeader header, Number value, TimeUnit targetTimeUnit)
          Parse duration represented as tenths of minutes.
static Duration DatatypeConverter.parseDurationInThousanthsOfMinutes(ProjectHeader header, Number value, TimeUnit targetTimeUnit)
          Parse duration represented in thousandths of minutes.
static BigInteger DatatypeConverter.printDurationTimeUnits(TimeUnit value, boolean estimated)
          Print duration time units.
static BigInteger DatatypeConverter.printTimeUnit(TimeUnit value)
          Print time unit.
static BigInteger DatatypeConverter.printWorkUnits(TimeUnit value)
          Print work units.
 

Uses of TimeUnit in net.sf.mpxj.utility
 

Methods in net.sf.mpxj.utility with parameters of type TimeUnit
static Duration DateUtility.getVariance(Task task, Date date1, Date date2, TimeUnit format)
          This utility method calculates the difference in working time between two dates, given the context of a task.
 



Copyright © 2012. All Rights Reserved.