Searched refs:typeString (Results 1 – 2 of 2) sorted by relevance
213 UnicodeString typeString = mp.getSubstring(type_part); in umsg_parse_format() local217 if (typeString == ASCII_LITERAL("number")) { in umsg_parse_format()233 } else if ((typeString == ASCII_LITERAL("date")) || (typeString == ASCII_LITERAL("time"))) { in umsg_parse_format()235 … } else if ((typeString == ASCII_LITERAL("spellout")) || (typeString == ASCII_LITERAL("ordinal")) in umsg_parse_format()236 || (typeString == ASCII_LITERAL("duration"))) { in umsg_parse_format()
245 public static function fromString(string $typeString): SimpleType argument247 switch (strtolower($typeString)) {263 return new SimpleType(strtolower($typeString), true);273 $isArray = preg_match("/(.*)\s*\[\s*\]/", $typeString, $matches);279 …_match("/array\s*<\s*([A-Za-z0-9_-|]+)?(\s*,\s*)?([A-Za-z0-9_-|]+)?\s*>/i", $typeString, $matches);288 return new SimpleType($typeString, false);585 public static function fromString(string $typeString): self { argument586 $typeString .= "|";592 $typeStringLength = strlen($typeString);594 $char = $typeString[$i];[all …]
Completed in 24 milliseconds