All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.genexus.specific.android.LocalUtil Maven / Gradle / Ivy

Go to download

Core classes for the runtime used by Java and Android apps generated with GeneXus

There is a newer version: 4.7.0
Show newest version
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