Property | Type | Description | |
---|---|---|---|
FileTimeEpoch | Instant | ||
InfiniteDuration | System.Duration | ||
MaxDuration | System.Duration | ||
MaxLocalDate | LocalDate | ||
MaxLocalDateTime | LocalDateTime | ||
MaxLocalTime | LocalTime | ||
MinDuration | System.Duration | ||
MinLocalDate | LocalDate | ||
MinLocalDateTime | LocalDateTime | ||
MinLocalTime | LocalTime | ||
OneHour | System.Duration | ||
OneMillisecond | System.Duration | ||
OneMillisecondPeriod | Period | ||
OneMinute | System.Duration | ||
OneSecond | System.Duration | ||
OneStandardDay | System.Duration | ||
OneStandardWeek | System.Duration | ||
OneTick | System.Duration | ||
OneTickPeriod | Period |
Property | Type | Description | |
---|---|---|---|
CeilingHour | Instant | ||
CeilingMinute | Instant | ||
CeilingSecond | Instant | ||
FloorHour | Instant | ||
FloorMinute | Instant | ||
FloorSecond | Instant | ||
Hours | int | ||
InstantFromFileTimeUtc | Instant | ||
IsNegative | bool | ||
IsNegative | bool | ||
IsPositive | bool | ||
IsPositive | bool | ||
LoadTzdb | IDateTimeZoneProvider | ||
Milliseconds | int | ||
Minutes | int | ||
OnActiveUtilityConfigurationChanged | void | ||
Seconds | int | ||
StandardDays | int | ||
StandardWeeks | int | ||
TimeHelpers | NodaTime | ||
TotalHours | double | ||
TotalMilliseconds | double | ||
TotalMinutes | double | ||
TotalSeconds | double | ||
TotalStandardDays | double | ||
TotalStandardWeeks | double |
Method | Description | |
---|---|---|
IsZero ( [ period ) : bool |
Determines whether the specified period is zero.
|
|
SetDateTimeZoneProvider ( string path = null ) : void |
Sets the DateTimeZoneProvider to the time zone database given.
|
Method | Description | |
---|---|---|
CeilingHour ( this instant ) : Instant | ||
CeilingMinute ( this instant ) : Instant | ||
CeilingSecond ( this instant ) : Instant | ||
FloorHour ( this instant ) : Instant | ||
FloorMinute ( this instant ) : Instant | ||
FloorSecond ( this instant ) : Instant | ||
Hours ( this duration ) : int | ||
InstantFromFileTimeUtc ( long fileTimeTicks ) : Instant | ||
IsNegative ( [ period, LocalDate local ) : bool | ||
IsNegative ( [ period, LocalDateTime local ) : bool | ||
IsPositive ( [ period, LocalDate local ) : bool | ||
IsPositive ( [ period, LocalDateTime local ) : bool | ||
LoadTzdb ( string path = null ) : IDateTimeZoneProvider | ||
Milliseconds ( this duration ) : int | ||
Minutes ( this duration ) : int | ||
OnActiveUtilityConfigurationChanged ( [ sender, [ |
Called when the utility configuration changes. If the UtilityConfiguration.TimeZoneDB property changes, the database will be reloaded.
|
|
Seconds ( this duration ) : int | ||
StandardDays ( this duration ) : int | ||
StandardWeeks ( this duration ) : int | ||
TimeHelpers ( ) : NodaTime |
Initializes the TimeHelpers class.
|
|
TotalHours ( this duration ) : double | ||
TotalMilliseconds ( this duration ) : double | ||
TotalMinutes ( this duration ) : double | ||
TotalSeconds ( this duration ) : double | ||
TotalStandardDays ( this duration ) : double | ||
TotalStandardWeeks ( this duration ) : double |
public static IsZero ( [ period ) : bool | ||
period | [ | The period. |
return | bool |
public static SetDateTimeZoneProvider ( string path = null ) : void | ||
path | string | The path of the database file to load, or |
return | void |
public static Duration,System InfiniteDuration | ||
return | System.Duration |
public static Duration,System MaxDuration | ||
return | System.Duration |
public static LocalDateTime MaxLocalDateTime | ||
return | LocalDateTime |
public static Duration,System MinDuration | ||
return | System.Duration |
public static LocalDateTime MinLocalDateTime | ||
return | LocalDateTime |
public static Duration,System OneMillisecond | ||
return | System.Duration |
public static Period OneMillisecondPeriod | ||
return | Period |
public static Duration,System OneMinute | ||
return | System.Duration |
public static Duration,System OneSecond | ||
return | System.Duration |
public static Duration,System OneStandardDay | ||
return | System.Duration |
public static Duration,System OneStandardWeek | ||
return | System.Duration |