JAMS 6.x Help
DateTimeExtensions Class Members
Methods 


The following tables list the members exposed by DateTimeExtensions.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)ConvertKindToLocalActs like ToLocalTime, but converting DateTime.MinValue and DateTime.MaxValue won't cause timezone shifts.  
Public Methodstatic (Shared in Visual Basic)ConvertKindToUniversalActs like ToUniversalTime, but converting DateTime.MinValue and DateTime.MaxValue won't cause timezone shifts.  
Public Methodstatic (Shared in Visual Basic)ValidateKindActs like SpecifyKind, but throws an exception* if the conversion would lead to timezone offset errors. *TODO: For now, this doesn't throw an exception, it just logs a stack trace. Can be changed to an exception later.  
Top
See Also

Reference

DateTimeExtensions Class
MVPSI.JAMS Namespace