org.apache.xalan.transformer

Class DecimalToRoman

public class DecimalToRoman extends Object

Structure to help in converting integers to roman numerals

UNKNOWN: internal

Field Summary
Stringm_postLetter
Correspoding letter (roman) to m_postValue
longm_postValue
Minimum value for a given range of roman numbers
Stringm_preLetter
Correspoding letter (roman) to m_preValue
longm_preValue
Value of last prefixed number within that same range
Constructor Summary
DecimalToRoman(long postValue, String postLetter, long preValue, String preLetter)
Constructor DecimalToRoman

Field Detail

m_postLetter

public String m_postLetter
Correspoding letter (roman) to m_postValue

m_postValue

public long m_postValue
Minimum value for a given range of roman numbers

m_preLetter

public String m_preLetter
Correspoding letter (roman) to m_preValue

m_preValue

public long m_preValue
Value of last prefixed number within that same range

Constructor Detail

DecimalToRoman

public DecimalToRoman(long postValue, String postLetter, long preValue, String preLetter)
Constructor DecimalToRoman

Parameters: postValue Minimum value for a given range of roman numbers postLetter Correspoding letter (roman) to postValue preValue Value of last prefixed number within that same range (i.e. IV if postval is 5 (V)) preLetter Correspoding letter(roman) to preValue

Copyright © 2005 Apache XML Project. All Rights Reserved.