Class DateRanges
- Namespace
- Tripous
- Assembly
- Tripous.dll
DateRange extensions
public static class DateRanges
- Inheritance
-
DateRanges
- Inherited Members
Fields
PrefixFrom
Constant
public static readonly string PrefixFrom
Field Value
PrefixTo
Constant
public static readonly string PrefixTo
Field Value
WhereRanges
Constant
public static readonly DateRange[] WhereRanges
Field Value
Methods
IsPast(DateRange)
True if Range denotes a past time (Today included)
public static bool IsPast(this DateRange Range)
Parameters
RangeDateRange
Returns
ToDates(DateRange, DateTime, ref DateTime, ref DateTime)
Converts a DateRange to two DateTime values.
public static bool ToDates(this DateRange Range, DateTime Today, ref DateTime FromDate, ref DateTime ToDate)
Parameters
Returns
ToDates(DateRange, ref DateTime, ref DateTime)
Converts a DateRange to two DateTime values.
public static bool ToDates(this DateRange Range, ref DateTime FromDate, ref DateTime ToDate)