public void Write(RecordWriter xout) { xout.Open("DataRecord"); xout.NamedIndex("pl", IBM.ICU.Impl.Duration.Impl.DataRecord.EPluralization.names, pl); xout.StringTable("pluralName", pluralNames); xout.NamedIndexArray("gender", IBM.ICU.Impl.Duration.Impl.DataRecord.EGender.names, genders); xout.StringArray("singularName", singularNames); xout.StringArray("halfName", halfNames); xout.StringArray("numberName", numberNames); xout.StringArray("mediumName", mediumNames); xout.StringArray("shortName", shortNames); xout.StringArray("measure", measures); xout.StringArray("rqdSuffix", rqdSuffixes); xout.StringArray("optSuffix", optSuffixes); xout.StringArray("halves", halves); xout.NamedIndexArray("halfPlacement", IBM.ICU.Impl.Duration.Impl.DataRecord.EHalfPlacement.names, halfPlacements); xout.NamedIndexArray("halfSupport", IBM.ICU.Impl.Duration.Impl.DataRecord.EHalfSupport.names, halfSupport); xout.String("fifteenMinutes", fifteenMinutes); xout.String("fiveMinutes", fiveMinutes); xout.Bool("requiresDigitSeparator", requiresDigitSeparator); xout.String("digitPrefix", digitPrefix); xout.String("countSep", countSep); xout.String("shortUnitSep", shortUnitSep); xout.StringArray("unitSep", unitSep); xout.BoolArray("unitSepRequiresDP", unitSepRequiresDP); xout.BoolArray("requiresSkipMarker", requiresSkipMarker); xout.NamedIndex("numberSystem", IBM.ICU.Impl.Duration.Impl.DataRecord.ENumberSystem.names, numberSystem); xout.Character("zero", zero); xout.Character("decimalSep", decimalSep); xout.Bool("omitSingularCount", omitSingularCount); xout.Bool("omitDualCount", omitDualCount); xout.NamedIndex("zeroHandling", IBM.ICU.Impl.Duration.Impl.DataRecord.EZeroHandling.names, zeroHandling); xout.NamedIndex("decimalHandling", IBM.ICU.Impl.Duration.Impl.DataRecord.EDecimalHandling.names, decimalHandling); xout.NamedIndex("fractionHandling", IBM.ICU.Impl.Duration.Impl.DataRecord.EFractionHandling.names, fractionHandling); xout.String("skippedUnitMarker", skippedUnitMarker); xout.Bool("allowZero", allowZero); xout.Bool("weeksAloneOnly", weeksAloneOnly); xout.NamedIndex("useMilliseconds", IBM.ICU.Impl.Duration.Impl.DataRecord.EMilliSupport.names, useMilliseconds); if (scopeData != null) { xout.Open("ScopeDataList"); for (int i = 0; i < scopeData.Length; ++i) { scopeData[i].Write(xout); } xout.Close(); } xout.Close(); }
public void Write(RecordWriter xout) { xout.Open("ScopeData"); xout.String("prefix", prefix); xout.Bool("requiresDigitPrefix", requiresDigitPrefix); xout.String("suffix", suffix); xout.Close(); }