forked from Giannoudis/TimePeriodLibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ITimeLine.cs
44 lines (32 loc) · 1.53 KB
/
ITimeLine.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// -- FILE ------------------------------------------------------------------
// name : ITimeLine.cs
// project : Itenso Time Period
// created : Jani Giannoudis - 2011.03.31
// language : C# 4.0
// environment: .NET 2.0
// copyright : (c) 2011-2012 by Itenso GmbH, Switzerland
// --------------------------------------------------------------------------
namespace Itenso.TimePeriod
{
// ------------------------------------------------------------------------
public interface ITimeLine
{
// ----------------------------------------------------------------------
ITimePeriodContainer Periods { get; }
// ----------------------------------------------------------------------
ITimePeriod Limits { get; }
// ----------------------------------------------------------------------
ITimePeriodMapper PeriodMapper { get; }
// ----------------------------------------------------------------------
bool HasOverlaps();
// ----------------------------------------------------------------------
bool HasGaps();
// ----------------------------------------------------------------------
ITimePeriodCollection CombinePeriods();
// ----------------------------------------------------------------------
ITimePeriodCollection IntersectPeriods( bool combinePeriods );
// ----------------------------------------------------------------------
ITimePeriodCollection CalculateGaps();
} // interface ITimeLine
} // namespace Itenso.TimePeriod
// -- EOF -------------------------------------------------------------------