Interface MendixDateTime

All Superinterfaces:
IMendixObjectMember<Date>

public interface MendixDateTime extends IMendixObjectMember<Date>
Provides the interface for a Mendix attribute with type Date and Time.
  • Method Details

    • shouldLocalize

      boolean shouldLocalize()
      Returns whether the date and time are represented in the local time zone or not.
      Returns:
      true if the date and time is in the local time zone; false if it is UTC
    • getValueFromString

      Date getValueFromString(String stringValue)
      If the stringValue is null or empty return null otherwise, parse the stringValue using Long.parseLong(String) and create a Date using Date(long).
      Specified by:
      getValueFromString in interface IMendixObjectMember<Date>
      Parameters:
      stringValue - the string to parse
      Returns:
      parsed value