Méthode | Description | |
---|---|---|
ConvertToLocalTime ( System.DateTime utcDateTime, string timeZoneId ) : System.DateTime | ||
ConvertToUtc ( System.DateTime localDateTime, string timeZoneId, ZoneLocalMappingResolver resolver = null ) : System.DateTime | ||
GetTimeZoneList ( ) : IReadOnlyCollection |
||
TimeZoneHelper ( IDateTimeZoneProvider timeZoneProvider, ILogger |
public ConvertToLocalTime ( System.DateTime utcDateTime, string timeZoneId ) : System.DateTime | ||
utcDateTime | System.DateTime | |
timeZoneId | string | |
Résultat | System.DateTime |
public ConvertToUtc ( System.DateTime localDateTime, string timeZoneId, ZoneLocalMappingResolver resolver = null ) : System.DateTime | ||
localDateTime | System.DateTime | |
timeZoneId | string | |
resolver | ZoneLocalMappingResolver | |
Résultat | System.DateTime |
public GetTimeZoneList ( ) : IReadOnlyCollection |
||
Résultat | IReadOnlyCollection |
public TimeZoneHelper ( IDateTimeZoneProvider timeZoneProvider, ILogger |
||
timeZoneProvider | IDateTimeZoneProvider | |
logger | ILogger |
|
Résultat | Microsoft.Extensions.Logging |