public class MendixDateTime extends com.mendix.core.objectmanagement.MendixObjectMemberImpl<Date>
IMendixObjectMember.MemberState, IMendixObjectMember.MemberValueState| Constructor and Description | 
|---|
MendixDateTime(IMetaPrimitive primitive)  | 
MendixDateTime(String name,
              boolean localize)  | 
MendixDateTime(String name,
              boolean v,
              String virtualActionName,
              boolean localize)
Creates MendixDateTime with the given virtual settings 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Date | 
getValueFromString(String s)
Get value for this ObjectMember from a String 
 | 
void | 
parseInitialValueFromString(String s)
Parse value of this ObjectMember from a String 
 | 
String | 
parseValueToString(IContext context)
parses the date value of this member to a Long 
 | 
void | 
setValue(IContext context,
        long value)  | 
boolean | 
shouldLocalize()  | 
checkReadAccess, checkWriteAccess, clone, equals, getComponent, getMemberValueState, getMxObject, getName, getOriginalValue, getState, getValue, getVirtualCaller, hashCode, hasReadAccess, hasWriteAccess, isVirtual, overrideReadAccess, overrideWriteAccess, parseValueFromString, parseValueFromString, setInitialValue, setMemberValueState, setOriginalValue, setParentObject, setReadAccess, setState, setValue, setValue, setVirtual, setVirtualCaller, setWriteAccess, toString, toStringpublic MendixDateTime(String name, boolean localize)
name - the name of the datetimelocalize - whether the date should be localized when displayedpublic MendixDateTime(String name, boolean v, String virtualActionName, boolean localize)
name - the name of the datetimev - boolean defining whether this primitive is virtual or notvirtualActionName - the CoreAction which will be called when using getValuelocalize - whether the date should be localized when displayedpublic MendixDateTime(IMetaPrimitive primitive)
public void setValue(IContext context, long value)
context - value - in milliseconds since "the epoch"public Date getValueFromString(String s)
IMendixObjectMemberpublic void parseInitialValueFromString(String s)
public String parseValueToString(IContext context)
parseValueToString in interface com.mendix.core.objectmanagement.MendixObjectMember<Date>parseValueToString in interface IMendixObjectMember<Date>parseValueToString in class com.mendix.core.objectmanagement.MendixObjectMemberImpl<Date>public boolean shouldLocalize()