public void Write(XmlWriter writer) { string format = DateFormatAttributeValueMap[_format]; string date = _date.ToString(DateFormatToDateTimeFormatString[_format]); _writer = new SayAsWriter("date", format, date); _writer.Write(writer); }
public ISpeech AsDigits() { _writer = new SayAsWriter("digits", _value.ToString(CultureInfo.InvariantCulture)); return(_speech); }
public ISpeech AsOrdinal() { _writer = new SayAsWriter("ordinal", _value.ToString(CultureInfo.InvariantCulture)); return(_speech); }