Author: cbrisson
Date: Mon Nov 26 11:16:43 2018
New Revision: 1847460

URL: http://svn.apache.org/viewvc?rev=1847460&view=rev
Log:
[site/engine] Document String -> Locale conversion

Modified:
    velocity/site/cms/trunk/content/engine/devel/developer-guide.mdtext

Modified: velocity/site/cms/trunk/content/engine/devel/developer-guide.mdtext
URL: 
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/engine/devel/developer-guide.mdtext?rev=1847460&r1=1847459&r2=1847460&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/engine/devel/developer-guide.mdtext 
(original)
+++ velocity/site/cms/trunk/content/engine/devel/developer-guide.mdtext Mon Nov 
26 11:16:43 2018
@@ -1059,6 +1059,7 @@ Since Velocity 2.0, besides the default
 - string to number: if the string does not represent a number or doesn't fit 
into the expected number type, an exception is thrown
 - narrowing number conversion: if the number doesn't fit into the expected 
number type, an exception is thrown
 - string to enum constant: will throw if the string doesn't represent a 
constant of the expected enum
+- string to locale (since 2.1)
 
 <span class="conversions">The following table resumes the possible conversions 
between a provided argument type (which is never a primary type) and an 
expected argument type, which can be <span class="strict">strict</span> when 
the expected type is assignable from the provided type without unboxing, <span 
class="implicit">implicit</span> when Java will take care of the necessary 
conversion or unboxing, <span class="explicit">explicit</span> when the 
conversion is provided by the default 2.0 conversion handler, and <span 
class="none">none</span> when no default conversion is possible.</span>
 


Reply via email to