com.genexus.specific.android.LocalUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxandroid Show documentation
Show all versions of gxandroid Show documentation
Core classes for the runtime used by Java and Android apps generated with GeneXus
package com.genexus.specific.android;
import com.genexus.Application;
import com.genexus.common.interfaces.IExtensionLocalUtil;
public class LocalUtil implements IExtensionLocalUtil {
@Override
public String getLanguage(String language) {
if (!Application.hasClientPreferences())
return com.artech.base.services.AndroidContext.ApplicationContext.getLanguageName();
else
return Application.getClientPreferences().getProperty("language|" + language, "culture", null);
}
@Override
public boolean IsBlankEmptyDate() {
if (!Application.hasClientPreferences())
return false;
else
return Application.getClientPreferences().getBLANK_EMPTY_DATE();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy