Class RomanNumeral

java.lang.Object
com.vladsch.flexmark.util.format.RomanNumeral

public class RomanNumeral extends Object
  • Field Details

    • num

      private final int num
    • numbers

      private static final int[] numbers
    • letters

      private static final String[] letters
    • ROMAN_NUMERAL

      public static final Pattern ROMAN_NUMERAL
    • LOWERCASE_ROMAN_NUMERAL

      public static final Pattern LOWERCASE_ROMAN_NUMERAL
    • LIMITED_ROMAN_NUMERAL

      public static final Pattern LIMITED_ROMAN_NUMERAL
    • LIMITED_LOWERCASE_ROMAN_NUMERAL

      public static final Pattern LIMITED_LOWERCASE_ROMAN_NUMERAL
  • Constructor Details

    • RomanNumeral

      public RomanNumeral(int arabic)
    • RomanNumeral

      public RomanNumeral(String roman)
  • Method Details

    • letterToNumber

      private int letterToNumber(char letter)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toInt

      public int toInt()