C# Class Skybrud.Essentials.Time.TimeUtils

Afficher le fichier Open project: skybrud/Skybrud.Essentials Class Usage Examples

Méthodes publiques

Méthode Description
GetEndOfDay ( DateTimeOffset time ) : DateTimeOffset
GetEndOfDay ( DateTimeOffset time, TimeZoneInfo timeZone ) : DateTimeOffset
GetEndOfMonth ( DateTimeOffset time ) : DateTimeOffset
GetEndOfMonth ( DateTimeOffset time, TimeZoneInfo timeZone ) : DateTimeOffset
GetEndOfWeek ( DateTimeOffset time ) : DateTimeOffset
GetEndOfWeek ( DateTimeOffset time, DayOfWeek startOfWeek ) : DateTimeOffset
GetEndOfWeek ( DateTimeOffset time, TimeZoneInfo timeZone ) : DateTimeOffset
GetEndOfWeek ( DateTimeOffset time, TimeZoneInfo timeZone, DayOfWeek startOfWeek ) : DateTimeOffset
GetStartOfDay ( DateTimeOffset time ) : DateTimeOffset
GetStartOfDay ( DateTimeOffset time, TimeZoneInfo timeZone ) : DateTimeOffset
GetStartOfMonth ( DateTimeOffset time ) : DateTimeOffset
GetStartOfMonth ( DateTimeOffset time, TimeZoneInfo timeZone ) : DateTimeOffset
GetStartOfWeek ( DateTimeOffset time ) : DateTimeOffset
GetStartOfWeek ( DateTimeOffset time, DayOfWeek startOfWeek ) : DateTimeOffset
GetStartOfWeek ( DateTimeOffset time, TimeZoneInfo timeZone ) : DateTimeOffset
GetStartOfWeek ( DateTimeOffset time, TimeZoneInfo timeZone, DayOfWeek startOfWeek ) : DateTimeOffset

Method Details

GetEndOfDay() public static méthode

public static GetEndOfDay ( DateTimeOffset time ) : DateTimeOffset
time DateTimeOffset
Résultat DateTimeOffset

GetEndOfDay() public static méthode

public static GetEndOfDay ( DateTimeOffset time, TimeZoneInfo timeZone ) : DateTimeOffset
time DateTimeOffset
timeZone TimeZoneInfo
Résultat DateTimeOffset

GetEndOfMonth() public static méthode

public static GetEndOfMonth ( DateTimeOffset time ) : DateTimeOffset
time DateTimeOffset
Résultat DateTimeOffset

GetEndOfMonth() public static méthode

public static GetEndOfMonth ( DateTimeOffset time, TimeZoneInfo timeZone ) : DateTimeOffset
time DateTimeOffset
timeZone TimeZoneInfo
Résultat DateTimeOffset

GetEndOfWeek() public static méthode

public static GetEndOfWeek ( DateTimeOffset time ) : DateTimeOffset
time DateTimeOffset
Résultat DateTimeOffset

GetEndOfWeek() public static méthode

public static GetEndOfWeek ( DateTimeOffset time, DayOfWeek startOfWeek ) : DateTimeOffset
time DateTimeOffset
startOfWeek DayOfWeek
Résultat DateTimeOffset

GetEndOfWeek() public static méthode

public static GetEndOfWeek ( DateTimeOffset time, TimeZoneInfo timeZone ) : DateTimeOffset
time DateTimeOffset
timeZone TimeZoneInfo
Résultat DateTimeOffset

GetEndOfWeek() public static méthode

public static GetEndOfWeek ( DateTimeOffset time, TimeZoneInfo timeZone, DayOfWeek startOfWeek ) : DateTimeOffset
time DateTimeOffset
timeZone TimeZoneInfo
startOfWeek DayOfWeek
Résultat DateTimeOffset

GetStartOfDay() public static méthode

public static GetStartOfDay ( DateTimeOffset time ) : DateTimeOffset
time DateTimeOffset
Résultat DateTimeOffset

GetStartOfDay() public static méthode

public static GetStartOfDay ( DateTimeOffset time, TimeZoneInfo timeZone ) : DateTimeOffset
time DateTimeOffset
timeZone TimeZoneInfo
Résultat DateTimeOffset

GetStartOfMonth() public static méthode

public static GetStartOfMonth ( DateTimeOffset time ) : DateTimeOffset
time DateTimeOffset
Résultat DateTimeOffset

GetStartOfMonth() public static méthode

public static GetStartOfMonth ( DateTimeOffset time, TimeZoneInfo timeZone ) : DateTimeOffset
time DateTimeOffset
timeZone TimeZoneInfo
Résultat DateTimeOffset

GetStartOfWeek() public static méthode

public static GetStartOfWeek ( DateTimeOffset time ) : DateTimeOffset
time DateTimeOffset
Résultat DateTimeOffset

GetStartOfWeek() public static méthode

public static GetStartOfWeek ( DateTimeOffset time, DayOfWeek startOfWeek ) : DateTimeOffset
time DateTimeOffset
startOfWeek DayOfWeek
Résultat DateTimeOffset

GetStartOfWeek() public static méthode

public static GetStartOfWeek ( DateTimeOffset time, TimeZoneInfo timeZone ) : DateTimeOffset
time DateTimeOffset
timeZone TimeZoneInfo
Résultat DateTimeOffset

GetStartOfWeek() public static méthode

public static GetStartOfWeek ( DateTimeOffset time, TimeZoneInfo timeZone, DayOfWeek startOfWeek ) : DateTimeOffset
time DateTimeOffset
timeZone TimeZoneInfo
startOfWeek DayOfWeek
Résultat DateTimeOffset