protected override void AppendAttributes(StringBuilder b) { b.AppendFormat(" type='{0}'", _length.ToCode()); }
public string GetDateTimeFormatPattern(FormatLength length) { var node = this.Select(new NodePathEntry("dateTimeFormats"), new NodePathEntry("dateTimeFormatLength", new LdmlAttributeValue(LdmlAttribute.Type, length.ToCode())) ); if (node == null) { return(null); } return(node.Select("dateTimeFormat", "pattern").GetText()); }