If you need more control, you can explicitly specify a format string for the using modifier.
如果需要更多的控制,您可以为using修饰符明确指定格式字符串。
To format a Joda object, call its toString method and, if you wish, pass either a standard ISO-8601 or a JDK-compatible control string to tell Joda how to format it.
要格式化一个Joda对象,调用它的toString方法,并且如果您愿意的话,传递一个标准的ISO- 8601或一个JD K兼容的控制字符串,以告诉JD K如何执行格式化。
The sprintf function USES a control string to specify the output format, and often the control string includes "% s" (string output).
sprintf函数使用一个控制字符串来指定输出格式,该控制字符串通常包括“%s”(字符串输出)。
The often-serious format string attack is based on the idea that an attacker can control the format used to display data.
常见的格式化字符串攻击来自于一个思想:攻击者可以控制显示数据所使用的格式。
The string resource identifier that contains the format-control string.
包含格式控制字符串的字符串资源标记。
Another advantage is that you can use format specifiers other than % s, so that, for example, you can control how many significant digits the string form of a floating-point number should display.
另一个好处是你能使用不同于%s的格式化标识符,例如,以便于你能控制更多的重要的数字怎样显示浮点数字的字符串格式。
You have no control over the format of the generated XML string.
您对生成的xml字符串的格式没有控制权。
You have no control over the format of the generated XML string.
您对生成的xml字符串的格式没有控制权。
应用推荐