JAMS Developer Guide
DateTimeExtensions Class Methods


MVPSI.JAMS Namespace : DateTimeExtensions Class

For a list of all members of this type, see DateTimeExtensions members.

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