Package net.sf.mpxj

Examples of net.sf.mpxj.AccrueType


      xml.setFinish(DatatypeConverter.printDate(mpx.getFinish()));
      xml.setFinishText(mpx.getFinishText());
      xml.setFinishVariance(DatatypeConverter.printDurationInIntegerThousandthsOfMinutes(mpx.getFinishVariance()));
      xml.setFixedCost(DatatypeConverter.printCurrency(mpx.getFixedCost()));

      AccrueType fixedCostAccrual = mpx.getFixedCostAccrual();
      if (fixedCostAccrual == null)
      {
         fixedCostAccrual = AccrueType.PRORATED;
      }
      xml.setFixedCostAccrual(fixedCostAccrual);
View Full Code Here


    * @param locale target locale
    * @return AccrueType class instance
    */
   public static AccrueType getInstance(String type, Locale locale)
   {
      AccrueType result = null;

      String[] typeNames = LocaleData.getStringArray(locale, LocaleData.ACCRUE_TYPES);

      for (int loop = 0; loop < typeNames.length; loop++)
      {
View Full Code Here

    * @param field the index number of the field to be retrieved
    * @return the value of the required field
    */
   public AccrueType getAccrueType(int field)
   {
      AccrueType result;

      if ((field < m_fields.length) && (m_fields[field].length() != 0))
      {
         result = AccrueTypeUtility.getInstance(m_fields[field], m_locale);
      }
View Full Code Here

TOP

Related Classes of net.sf.mpxj.AccrueType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.