Class NSFieldInfoTimeSpan
Timespan custom database field. Number of minutes, represented as days/hours/minutes.
Constructors
NSFieldInfoTimeSpan()
Initializes a new instance of the NSFieldInfoTimeSpan class.
Declaration
NSFieldInfoTimeSpan Methods
GetDefaultValue()
Declaration
Integer GetDefaultValue() Examples
NSFieldInfoTimeSpan thing;
Integer defaultValue = thing.GetDefaultValue();
Returns
| Type | Description |
| Integer | Default TimeSpan value, number of minutes. |
GetUseDays()
Declaration
Bool GetUseDays() Examples
NSFieldInfoTimeSpan thing;
Bool useDays = thing.GetUseDays();
Returns
| Type | Description |
| Bool | Should the time-span be counted in days? |
GetUseHours()
Declaration
Bool GetUseHours() Examples
NSFieldInfoTimeSpan thing;
Bool useHours = thing.GetUseHours();
Returns
| Type | Description |
| Bool | Should the time-span be counted in hours? |
GetUseMinutes()
Declaration
Bool GetUseMinutes() Examples
NSFieldInfoTimeSpan thing;
Bool useMinutes = thing.GetUseMinutes();
Returns
| Type | Description |
| Bool | Should the time-span be counted in minutes? |
SetDefaultValue(Integer)
Declaration
Void SetDefaultValue(Integer defaultValue) Examples
NSFieldInfoTimeSpan thing;
Integer defaultValue;
thing.SetDefaultValue(defaultValue);
Parameters
| Type | Name | Description |
| Integer | defaultValue | Default TimeSpan value, number of minutes. |
Returns
| Type | Description |
| Void |
SetUseDays(Bool)
Declaration
Void SetUseDays(Bool useDays) Examples
NSFieldInfoTimeSpan thing;
Bool useDays;
thing.SetUseDays(useDays);
Parameters
| Type | Name | Description |
| Bool | useDays | Should the time-span be counted in days? |
Returns
| Type | Description |
| Void |