对于这里使用的这些格式化函数,有几个地方我不太喜欢。
There are a few things I don't like about the formatting functions used here, though.
相对而言,一些XSLT 1.0处理程序提供的exslt包(参阅参考资料)只有28个与时间有关的函数,包括一个格式化函数。
By comparison, the EXSLT package (see Resources), which some XSLT 1.0 processors offer, has only 28 time-oriented functions, including the ones that do formatting.
如果出现新的格式化想法,可以使用这个函数以及任何必要的css样式实现。
If we come up with new formatting ideas, they would be implemented in this function, along with any required CSS styles.
这类函数始终需要调用者为其提供一个字符串来进行格式化,因此应当使用命名参数。
Such a function would always require the caller to supply the string to be formatted, so that parameter should be explicitly named.
于是我们使用strtotime函数将其转化成整数,然后使用strftime格式化该整数,以便于表示。
So we use the strtotime function to convert this to an integer, and then strftime to format it for presentation.
然后,这一部分中的最后一个for 循环将在这个准 RSS列表上进行迭代,对项进行排序,并使用 rss-row()函数对信息进行格式化。
Then the last for loop in that section iterates over that quasi-RSS list, sorts the items, and uses the rss-row() function to the format the information.
Formatdate函数还包含一个模式,指定如何将给定的日期和时间格式化。
The format date function also contains a pattern to specify how the given date and time will be formatted.
根据需要,stringify函数可以允许定制一个复杂对象的特定属性如何被格式化。
Optionally, the stringify function can allow the customization of how a particular property of a complex Object is formatted.
格式化可以通过以numfmt _前缀开头的函数实现,也可以通过如NumberFor matter类内所示的方法实现。
Formatting is available as functions, starting with the numfmt_ prefix, or as methods, as in the NumberFormatter class.
Render —返回HTML字符串的函数,这些字符串根据我们显示每个服务器条目的规则进行格式化。
Render — Function that returns an HTML string, formatted according to some rules we devise on how we prefer each server entry to be displayed.
对于我的天气面板库,它完成天气数据的格式化,和方法1中的XMLHttpRequest响应函数非常类似。
In the case of my weather badge library, it handles formatting the weather data, much like the XMLHttpRequest response function I wrote for Approach 1.
C99 中对 strftime()函数进行了扩展,以提供更多常用的格式化字符。
The strftime() function has been extended in C99 to provide a few more commonly desired formatting characters.
D {string}- string字符串是strftime函数的格式化参数。
D {string} - string is formatted using the strftime function.
这两列使用format_units函数进行格式化。
These two columns are formatted using the format_units function.
如果使用JSON,只需调用一个简单的函数,就可以获得经过格式化的数据,可以直接使用了。
With JSON, you call a simple function and get your data, formatted and ready for use.
理想情况下,要重新格式化每一行,AlignAssignments将使用内置的substitute函数,并使用经过printf重新整理后的文本替换运算符之前的所有内容。
Ideally, in order to reformat each line, AlignAssignments would use the built-in substitute function, and replace everything up to the operator with a printf'd rearrangement of that text.
新的for mat内置函数可以格式化单个值。
The new format built-in function formats a single value. For example.
Tiger引入了两个新的构造函数(用于直接写入文件)和六个方法以提供对格式化的支持(三对)。
Introduced in Tiger are two new constructors (for going straight to a file) and six methods for formatting support (three sets of pairs).
函数随带一个格式化字符串和一个可变数目的参数。
The function takes a format string and a variable number of arguments.
这是非常有用的,因为它也显示了函数如何格式化。
This can be very useful, because it also shows how the functions are formatted.
函数的作用是:输出格式化字符串到流(例如:文件或数据库)。
The vfprintf() function writes a formatted string to a specified output stream (example: file or database).
函数的作用是:输出格式化字符串到流(例如:文件或数据库)。
The vfprintf() function writes a formatted string to a specified output stream (example: file or database).
应用推荐