kotlin.template
Class LocaleFormatter

kotlin.template.ToStringFormatter
  extended by kotlin.template.LocaleFormatter


public class LocaleFormatter
extends ToStringFormatter

Formats values using a given Locale for internationalisation


Property Summary
var
dateFormat: DateFormat
           
val
locale: Locale
           
var
nullString: String
           
var
numberFormat: NumberFormat
           
 

Function Summary
fun equals(other: Any): Boolean
fun format(out: Appendable, value: Any): Unit
fun format(out: Appendable, text: String): Unit
Formats the given string allowing derived classes to override this method
to escape strings with special characters such as for HTML
fun format(date: Date): String
fun format(number: Number): String
fun hashCode(): Int
fun toString(): String
 

Function Detail
source

equals


 fun equals(other: Any): Boolean
source

format


 fun format(out: Appendable, value: Any): Unit
source

format


 fun format(out: Appendable, text: String): Unit

Formats the given string allowing derived classes to override this method
to escape strings with special characters such as for HTML

source

format


 fun format(date: Date): String
source

format


 fun format(number: Number): String
source

hashCode


 fun hashCode(): Int
source

toString


 fun toString(): String


Copyright © 2010-2012. All Rights Reserved.