using System.Collections.Generic; using MfGames.Gallium; namespace MfGames.Nitride.Temporal; public class DateIndex { public DateIndex( string key, string format, IReadOnlyList entries, IReadOnlyList indexes) { this.Key = key; this.Format = format; this.Entries = entries; this.Indexes = indexes; } /// /// Gets the list of entries that are in this index. /// public IReadOnlyList Entries { get; } /// /// Gets the format used to create this index. /// public string Format { get; } /// /// Gets the ordered list of nested indexes, if there are any. This will be an /// empty list if the index has no /// sub-index. /// public IReadOnlyList Indexes { get; } /// /// Gets the key for the index, which is a formatted date. /// public string Key { get; } }