Outage Class

Represents an outage as a start time and an end time.

Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.136 -- Release Build+d454dafd53fcce88fce9c0a8ec8597176c30b791
public class Outage : Range<DateTimeOffset>, 
	IEquatable<Outage>
Inheritance
Object    RangeDateTimeOffset    Outage
Implements
IEquatableOutage

Constructors

Outage(RangeDateTimeOffset) Creates a new Outage with the same start and end time as the given range.
Outage(DateTimeOffset, DateTimeOffset) Creates a new Outage with the specified start and end time.

Properties

End Gets the end value of the range.
(Inherited from RangeT)
Start Gets the start value of the range.
(Inherited from RangeT)

Methods

Contains(T) Determines whether the range contains the given value.
(Inherited from RangeT)
Contains(RangeT) Determines whether the range contains the given range.
(Inherited from RangeT)
Contains(T, IComparerT) Determines whether the range contains the given value.
(Inherited from RangeT)
Contains(T, ComparisonT) Determines whether the range contains the given value.
(Inherited from RangeT)
Contains(RangeT, IComparerT) Determines whether the range contains the given range.
(Inherited from RangeT)
Contains(RangeT, ComparisonT) Determines whether the range contains the given range.
(Inherited from RangeT)
Equals(Object) Determines if this Outage equals another object.
(Overrides ObjectEquals(Object))
Equals(Outage) Determines if this Outage equals another outage.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Gets the hash code for this Outage.
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Merge(RangeT) Merges two ranges into one range that fully encompasses both ranges.
(Inherited from RangeT)
Merge(RangeT, IComparerT) Merges two ranges into one range that fully encompasses both ranges.
(Inherited from RangeT)
Merge(RangeT, ComparisonT) Merges two ranges into one range that fully encompasses both ranges.
(Inherited from RangeT)
MergeOverlapping Merges all consecutive groups of overlapping ranges in a collection and returns the resulting collection of outages.
Overlaps(RangeT) Determines whether the range overlaps with the given range.
(Inherited from RangeT)
Overlaps(RangeT, IComparerT) Determines whether the range overlaps with the given range.
(Inherited from RangeT)
Overlaps(RangeT, ComparisonT) Determines whether the range overlaps with the given range.
(Inherited from RangeT)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)

See Also