JAMS Developer Guide
DateTimeExtensions Class Members
Methods 


MVPSI.JAMS Namespace : DateTimeExtensions Class

The following tables list the members exposed by DateTimeExtensions.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Acts like ToLocalTime, but converting DateTime.MinValue and DateTime.MaxValue won't cause timezone shifts.  
Public Methodstatic (Shared in Visual Basic)Acts like ToUniversalTime, but converting DateTime.MinValue and DateTime.MaxValue won't cause timezone shifts.  
Public Methodstatic (Shared in Visual Basic)Acts 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