...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
public interface ITime { public double StampAsMJD(); { get; } public double DurationAsMJD(); { get; } } public interface ITimeSet { List<ITime> publicTimes List<ITime>{ getTimes()get; } bool HasDurations { get; } } |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
public interface ITime { public double StampAsMJD(); { get; } } public interface ITimeSpan : ITime { public double DurationAsMJD(); { get; } } public interface ITimeSet { List<ITime> publicTimes List<ITime>{ getTimes()get; } bool HasDurations { get; } } |
...