public static void WriteDouble(CesiumOutputStream output, string propertyName, IList<JulianDate> dates, IList<double> values, int startIndex, int length)
{
if (dates.Count != values.Count)
throw new ArgumentException(CesiumLocalization.MismatchedNumberOfDatesAndValues, "values");
JulianDate epoch = GetAndWriteEpoch(output, dates, startIndex, length);
output.WritePropertyName(propertyName);
output.WriteStartSequence();
int last = startIndex + length;
for (int i = startIndex; i < last; ++i)
{
output.WriteValue(epoch.SecondsDifference(dates[i]));
output.WriteValue(values[i]);
output.WriteLineBreak();
}
output.WriteEndSequence();
}