Validates that a date time has been set (by checking that it is not the minimum value).
Namespace: Nehta.VendorLibrary.CommonAssembly: Nehta.VendorLibrary.Common (in Nehta.VendorLibrary.Common.dll) Version: 3.0.2.0 (1.0.0.0)
Syntax
C# |
---|
public static void ValidateDateTime( string name, DateTime date ) |
Visual Basic |
---|
Public Shared Sub ValidateDateTime ( _ name As String, _ date As DateTime _ ) |
Visual C++ |
---|
public: static void ValidateDateTime( String^ name, DateTime date ) |
Parameters
- name
- Type: System..::..String
The name of the argument to validate.
- date
- Type: System..::..DateTime
The DateTime value.