text: public static string[] Tokenize(string format){List<string> result = new List<string>();DateFormatTokenizer tokenizer = new DateFormatTokenizer(format);string token;while ((token = tokenizer.GetNextToken()) != null){result.Add(token);}return result.ToArray();}