Example usage for com.liferay.portal.kernel.util FastDateFormatFactoryUtil FastDateFormatFactoryUtil

List of usage examples for com.liferay.portal.kernel.util FastDateFormatFactoryUtil FastDateFormatFactoryUtil

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util FastDateFormatFactoryUtil FastDateFormatFactoryUtil.

Prototype

FastDateFormatFactoryUtil

Source Link

Usage

From source file:com.liferay.dynamic.data.mapping.render.DDMFormFieldValueRendererTest.java

License:Open Source License

protected void setUpFastDateFormatFactoryUtil() {
    FastDateFormatFactoryUtil fastDateFormatFactoryUtil = new FastDateFormatFactoryUtil();

    fastDateFormatFactoryUtil.setFastDateFormatFactory(new FastDateFormatFactoryImpl());
}

From source file:org.mimacom.commons.liferay.adapter526.LiferayToolsImpl.java

License:Apache License

public void initLiferay() {
    new FileUtil().setFile(new FileImpl());
    new SAXReaderUtil().setSAXReader(new SAXReaderImpl());
    new PortalUtil().setPortal(new PortalImpl());
    new HtmlUtil().setHtml(new HtmlImpl());
    ModelHintsImpl modelHints = new ModelHintsImpl();
    modelHints.afterPropertiesSet();// w  ww  . j  a  v  a2 s  .c o  m
    new ModelHintsUtil().setModelHints(modelHints);
    new FastDateFormatFactoryUtil().setFastDateFormatFactory(new FastDateFormatFactoryImpl());
}