public class CustomDateTimeFormatGenerator
extends com.google.gwt.core.ext.Generator
CustomDateTimeFormat
interface,
computing the best matching localized format patterns at compile time.Constructor and Description |
---|
CustomDateTimeFormatGenerator() |
Modifier and Type | Method and Description |
---|---|
String |
generate(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context,
String typeName)
Generate an implementation for the given type.
|
protected DateTimePatternGenerator |
getDateTimePatternGenerator(GwtLocale gwtLocale) |
public final String generate(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.GeneratorContext context, String typeName) throws com.google.gwt.core.ext.UnableToCompleteException
generate
in class com.google.gwt.core.ext.Generator
logger
- error loggercontext
- generator contexttypeName
- target type namecom.google.gwt.core.ext.UnableToCompleteException
protected DateTimePatternGenerator getDateTimePatternGenerator(GwtLocale gwtLocale)
Copyright © 2016. All rights reserved.