Npgsql Api Docs

NpgsqlTimeTZ Members

NpgsqlTimeTZ overview

Public Static (Shared) Fields

AllBalls 

Public Static (Shared) Properties

Now 

Public Static (Shared) Methods

LocalMidnight 
Parse 

Public Static (Shared) Operators and Type Conversions

Addition OperatorOverloaded.  
Equality Operator 
Greater Than Operator 
Greater Than Or Equal Operator 
Inequality Operator 
Less Than Operator 
Less Than Or Equal Operator 
Subtraction OperatorOverloaded.  
Explicit NpgsqlTimeTZ to DateTime Conversion 
Explicit NpgsqlTimeTZ to TimeSpan Conversion 
Explicit TimeSpan to NpgsqlTimeTZ Conversion 

Public Instance Constructors

NpgsqlTimeTZ Overloaded. Initializes a new instance of the NpgsqlTimeTZ class.

Public Instance Properties

Hours Gets the number of whole hours held in the instance. Note that the time 24:00:00 can be stored for roundtrip compatibility. Any calculations on such a value will normalised it to 00:00:00.
LocalTime 
Microseconds Gets the number of whole microseconds held in the instance. An integer in the range [0, 999999].
Milliseconds Gets the number of whole milliseconds held in the instance. An integer in the range [0, 999].
Minutes Gets the number of whole minutes held in the instance. An integer in the range [0, 59].
Seconds Gets the number of whole seconds held in the instance. An interger in the range [0, 59].
Ticks 
TimeZone 
UTCTime 

Public Instance Methods

Add 
AtTimeZone 
CompareOverloaded.  
CompareToOverloaded. Compares this with another NpgsqlTimeTZ. As per postgres' rules, first the times are compared as if they were both in the same timezone. If they are equal then then timezones are compared (+01:00 being "smaller" than -01:00).
EqualsOverloaded.  
GetHashCode 
GetType (inherited from Object) 
Normalize Normalise this time; if it is 24:00:00, convert it to 00:00:00
SubtractOverloaded.  
ToString 

See Also

NpgsqlTimeTZ Class | NpgsqlTypes Namespace