Mendix Runtime
Documentation for the Mendix Runtime Environment API
|
Inherits MendixObjectMember< Date >.
Public Member Functions | |
MendixDateTime (String name, boolean localize) | |
MendixDateTime (String name, boolean v, String virtualActionName, boolean localize) | |
void | setValue (IContext context, long value) |
void | parseValueFromString (IContext context, String s) |
Date | getValueFromString (String s) |
void | parseInitialValueFromString (String s) |
String | parseValueToString (IContext context) |
boolean | shouldLocalize () |
Primitive for a Date (including time)
com.mendix.core.objectmanagement.member.MendixDateTime.MendixDateTime | ( | String | name, |
boolean | localize | ||
) |
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
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 |
Date com.mendix.core.objectmanagement.member.MendixDateTime.getValueFromString | ( | String | s | ) |
void com.mendix.core.objectmanagement.member.MendixDateTime.parseInitialValueFromString | ( | String | s | ) |
Parse value of this ObjectMember from a String
s |
void com.mendix.core.objectmanagement.member.MendixDateTime.parseValueFromString | ( | IContext | context, |
String | s | ||
) |
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 | ||
) |
context | |
value | in milliseconds since "the epoch" |
boolean com.mendix.core.objectmanagement.member.MendixDateTime.shouldLocalize | ( | ) |