Table of Contents

Enum DateRange

Namespace
Tripous
Assembly
Tripous.dll

Indicates how to construct a range between two dates.

public enum DateRange
Extension Methods

Fields

Custom = 0

Custom range

LastMonth = 6

From 30 before To today

LastSemester = 9

From 180 before To today

LastThreeMonths = 8

From 90 before To today

LastTwoMonths = 7

From 60 before To today

LastTwoWeeks = 5

From 14 days before To today

LastTwoYears = 11

From 730 before To today

LastWeek = 4

From 7 days before To today

LastYear = 10

From 365 before To today

NextMonth = 14

NextMonth

NextSemester = 17

NextSemester

NextThreeMonths = 16

NextThreeMonths

NextTwoMonths = 15

NextTwoMonths

NextTwoWeeks = 13

NextTwoWeeks

NextTwoYears = 19

NextTwoYears

NextWeek = 12

NextWeek

NextYear = 18

NextYear

Today = 1

From today To today

Tomorrow = 3

From today To Tomorrow

Yesterday = 2

From yesterday To today