Ejemplo n.º 1
0
        private static string translateTypeToLongName(DispConvType type)
        {
            switch (type)
            {
            case DispConvType.FullMonth:
                return("Full Month");

            case DispConvType.Midmonth:
                return("Midmonth");

            case DispConvType.HalfYearACRS:
                return("Half-Year (ACRS)");

            case DispConvType.HalfYearMACRSPreACRS:
                return("Half-Year (MACRS & Pre-ACRS)");

            case DispConvType.ModifiedHalfYear:
                return("Modified Half-Year");

            default:
                return((string)null);
            }
        }
Ejemplo n.º 2
0
        private static char translateTypeToShortName(DispConvType type)
        {
            switch (type)
            {
            case DispConvType.FullMonth:
                return('F');

            case DispConvType.Midmonth:
                return('M');

            case DispConvType.HalfYearACRS:
                return('H');

            case DispConvType.HalfYearMACRSPreACRS:
                return('P');

            case DispConvType.ModifiedHalfYear:
                return('O');

            case DispConvType.Unknown:
            default:
                return('\0');
            }
        }
Ejemplo n.º 3
0
 public DisposalConvention(DispConvType conv)
 {
     Type = (conv);
 }
Ejemplo n.º 4
0
 public virtual void defaults()
 {
     Type = (DispConvType.FullMonth);
 }