Performs Date conversions that are needed both on Server and Client side.
More...
Performs Date conversions that are needed both on Server and Client side.
◆ DateTimeToLongDateString2()
static String Ict.Common.Conversion.TDate.DateTimeToLongDateString2 |
( |
DateTime |
ADateTime | ) |
|
|
inlinestatic |
Converts a a date time into a string.
- Parameters
-
ADateTime | Date that should be converted. |
- Returns
- The converted date.
◆ LongDateStringToDateTime2()
static DateTime Ict.Common.Conversion.TDate.LongDateStringToDateTime2 |
( |
String |
AParseDate, |
|
|
String |
ADescription, |
|
|
out TVerificationResult |
AVerificationResult, |
|
|
Boolean |
AShowVerificationError |
|
) |
| |
|
inlinestatic |
Converts a String into a date time.
- Parameters
-
AParseDate | String which contains the date that should be converted |
ADescription | String about the conversion type that is performed. This is used to gather error messages. |
AVerificationResult | If conversion fails it contains detailed information about the error. If conversion is successful: null |
AShowVerificationError | True if a error message should be shown if conversion fails. |
- Returns
- The converted date. If the conversion didn't succeed than it contains the Date Min value.
◆ LongDateStringToDateTimeInternal() [1/2]
static Boolean Ict.Common.Conversion.TDate.LongDateStringToDateTimeInternal |
( |
String |
AParseDate, |
|
|
String |
ADescription, |
|
|
out object |
AParsedDate |
|
) |
| |
|
inlinestatic |
Converts a string to a formatted date string.
- Parameters
-
AParseDate | String which contains the date that should be converted |
ADescription | String about the conversion type that is performed. This is used to gather error messages. |
AParsedDate | String that holds the parsed date (if successful) |
- Returns
- true if successful, otherwise false
◆ LongDateStringToDateTimeInternal() [2/2]
static Boolean Ict.Common.Conversion.TDate.LongDateStringToDateTimeInternal |
( |
String |
AParseDate, |
|
|
String |
ADescription, |
|
|
out object |
AParsedDate, |
|
|
Boolean |
AShowVerificationError |
|
) |
| |
|
inlinestatic |
Converts a string to a formatted date string
- Parameters
-
AParseDate | String which contains the date that should be converted |
ADescription | String about the conversion type that is performed. This is used to gather error messages. |
AParsedDate | String that holds the parsed date (if successful) |
AShowVerificationError | true if error message box should be shown if conversion fails |
- Returns
- true if successful, otherwise false
The documentation for this class was generated from the following file:
- csharp/ICT/Common/Conversion/Date.cs