Inherits MendixObjectMember< Date >.
List of all members.
Detailed Description
Primitive for a Date (including time)
Constructor & Destructor Documentation
com.mendix.core.objectmanagement.member.MendixDateTime.MendixDateTime |
( |
String |
name, |
|
|
boolean |
localize |
|
) |
| |
- Parameters:
-
name | the name of the datetime |
localize | whether the date should be localized when displayed |
com.mendix.core.objectmanagement.member.MendixDateTime.MendixDateTime |
( |
String |
name, |
|
|
boolean |
v, |
|
|
String |
virtualActionName, |
|
|
boolean |
localize |
|
) |
| |
Creates MendixDateTime with the given virtual settings
- Parameters:
-
name | the name of the datetime |
v | boolean defining whether this primitive is virtual or not |
virtualActionName | the CoreAction which will be called when using getValue |
localize | whether the date should be localized when displayed |
Member Function Documentation
Date com.mendix.core.objectmanagement.member.MendixDateTime.getValueFromString |
( |
String |
s | ) |
|
- Returns:
- the date value of the string (string should be epoch value)
void com.mendix.core.objectmanagement.member.MendixDateTime.parseInitialValueFromString |
( |
String |
s | ) |
|
Parse value of this ObjectMember from a String
- Parameters:
-
String com.mendix.core.objectmanagement.member.MendixDateTime.parseValueToString |
( |
IContext |
context | ) |
|
parses the date value of this member to a Long
void com.mendix.core.objectmanagement.member.MendixDateTime.setValue |
( |
IContext |
context, |
|
|
long |
value |
|
) |
| |
- Parameters:
-
context | |
value | in milliseconds since "the epoch" |
boolean com.mendix.core.objectmanagement.member.MendixDateTime.shouldLocalize |
( |
| ) |
|
The documentation for this class was generated from the following file: