ContextPeriod

ContextPeriod(DateTime, DateTime)

Initializes a new instance of ContextPeriod class with Duration type.

public ContextPeriod(DateTime startDate, DateTime endDate)
Parameter Type Description
startDate DateTime The start date.
endDate DateTime The end date.

See Also


ContextPeriod(DateTime)

Initializes a new instance of ContextPeriod class with Instant type.

public ContextPeriod(DateTime instantDate)
Parameter Type Description
instantDate DateTime The instant date.

See Also


ContextPeriod(ContextPeriodType)

Initializes a new instance of ContextPeriod class.

public ContextPeriod(ContextPeriodType peroidType)
Parameter Type Description
peroidType ContextPeriodType The period type.

See Also