C# Class Itenso.TimePeriod.TimeCompare

Afficher le fichier Open project: jwg4/date-difference Class Usage Examples

Méthodes publiques

Méthode Description
IsSameDay ( System.DateTime left, System.DateTime right ) : bool
IsSameHalfyear ( System.DateTime left, System.DateTime right ) : bool
IsSameHalfyear ( YearMonth yearStartMonth, System.DateTime left, System.DateTime right ) : bool
IsSameHour ( System.DateTime left, System.DateTime right ) : bool
IsSameMinute ( System.DateTime left, System.DateTime right ) : bool
IsSameMonth ( System.DateTime left, System.DateTime right ) : bool
IsSameQuarter ( System.DateTime left, System.DateTime right ) : bool
IsSameQuarter ( YearMonth yearStartMonth, System.DateTime left, System.DateTime right ) : bool
IsSameSecond ( System.DateTime left, System.DateTime right ) : bool
IsSameWeek ( System.DateTime left, System.DateTime right, CultureInfo culture, CalendarWeekRule weekRule, DayOfWeek firstDayOfWeek, YearWeekType weekType ) : bool
IsSameWeek ( System.DateTime left, System.DateTime right, CultureInfo culture, YearWeekType weekType ) : bool
IsSameYear ( System.DateTime left, System.DateTime right ) : bool
IsSameYear ( YearMonth yearStartMonth, System.DateTime left, System.DateTime right ) : bool

Method Details

IsSameDay() public static méthode

public static IsSameDay ( System.DateTime left, System.DateTime right ) : bool
left System.DateTime
right System.DateTime
Résultat bool

IsSameHalfyear() public static méthode

public static IsSameHalfyear ( System.DateTime left, System.DateTime right ) : bool
left System.DateTime
right System.DateTime
Résultat bool

IsSameHalfyear() public static méthode

public static IsSameHalfyear ( YearMonth yearStartMonth, System.DateTime left, System.DateTime right ) : bool
yearStartMonth YearMonth
left System.DateTime
right System.DateTime
Résultat bool

IsSameHour() public static méthode

public static IsSameHour ( System.DateTime left, System.DateTime right ) : bool
left System.DateTime
right System.DateTime
Résultat bool

IsSameMinute() public static méthode

public static IsSameMinute ( System.DateTime left, System.DateTime right ) : bool
left System.DateTime
right System.DateTime
Résultat bool

IsSameMonth() public static méthode

public static IsSameMonth ( System.DateTime left, System.DateTime right ) : bool
left System.DateTime
right System.DateTime
Résultat bool

IsSameQuarter() public static méthode

public static IsSameQuarter ( System.DateTime left, System.DateTime right ) : bool
left System.DateTime
right System.DateTime
Résultat bool

IsSameQuarter() public static méthode

public static IsSameQuarter ( YearMonth yearStartMonth, System.DateTime left, System.DateTime right ) : bool
yearStartMonth YearMonth
left System.DateTime
right System.DateTime
Résultat bool

IsSameSecond() public static méthode

public static IsSameSecond ( System.DateTime left, System.DateTime right ) : bool
left System.DateTime
right System.DateTime
Résultat bool

IsSameWeek() public static méthode

public static IsSameWeek ( System.DateTime left, System.DateTime right, CultureInfo culture, CalendarWeekRule weekRule, DayOfWeek firstDayOfWeek, YearWeekType weekType ) : bool
left System.DateTime
right System.DateTime
culture System.Globalization.CultureInfo
weekRule CalendarWeekRule
firstDayOfWeek DayOfWeek
weekType YearWeekType
Résultat bool

IsSameWeek() public static méthode

public static IsSameWeek ( System.DateTime left, System.DateTime right, CultureInfo culture, YearWeekType weekType ) : bool
left System.DateTime
right System.DateTime
culture System.Globalization.CultureInfo
weekType YearWeekType
Résultat bool

IsSameYear() public static méthode

public static IsSameYear ( System.DateTime left, System.DateTime right ) : bool
left System.DateTime
right System.DateTime
Résultat bool

IsSameYear() public static méthode

public static IsSameYear ( YearMonth yearStartMonth, System.DateTime left, System.DateTime right ) : bool
yearStartMonth YearMonth
left System.DateTime
right System.DateTime
Résultat bool