Format Class |
Namespace: SOWIData.Helper
The Format type exposes the following members.
| Name | Description | |
|---|---|---|
| Address |
Gives address as a letter address format for CH
| |
| DateFormat |
Gives date formatted (dd.MM.yyyy).
If start date equal null then gives a empty string ("").
| |
| DateTimeFormat |
Gives date and time formatted (dd.MM.yyyy HH:mm).
If start date equal null then gives a empty string ("").
| |
| TimeFormat |
Time format 0h:00m or 00m (when no hours)
Example: total 98 minutes (integer) gives 1h:38m (string) Return ValueType:Formatted number | |
| TimeRound |
Round time up or down of Min step.
Example: pRoundMinStep = 15 minute and pDateTime = 4 minutes when pRound is Up then is return value 15 minutes and when pRound is Down is return value 0 minute |