BB10: Implement getNumberPattern.