if ( !Strings.isNullOrEmpty( format.locale() ) && !JsonFormat.DEFAULT_LOCALE.equals( format.locale() ) ) {
logger.log( Type.WARN, "JsonFormat.locale is not supported by default" );
source.println();
source.print( ".setLocale(\"%s\")", format.locale() );
}
if ( !Strings.isNullOrEmpty( format.timezone() ) && !JsonFormat.DEFAULT_TIMEZONE.equals( format.timezone() ) ) {
logger.log( Type.WARN, "JsonFormat.timezone is not supported by default" );
source.println();
source.print( ".setTimezone(\"%s\")", format.timezone() );
}
}