您所要做的只是提供一个格式,该函数会完成所有其他事情。
All you have to do is supply a format and the function does the rest.
然后将此信息传递给带有常用显示格式的日期函数。
Then you pass this to the date function with a common display format.
在调用解密命令之前,清单13中的字符串操作函数将替换丢失的格式。
The string manipulation functions in Listing 13 replace the lost formatting before the decryption command is called.
输出格式包含了关于目录、文件、函数、行以及块的总结信息。
The export format contains nested summary information about directories, files, functions, lines, and blocks.
函数以xhtml格式返回关于从DB2返回的信用违约掉期中引用的所有公司的股票代号、公司名称、最高售价和币种的信息。
The function returns information in XHTML format about the stock symbol, company name, high sales price, and currency for all firms referenced in the credit default swaps returned from DB2.
此函数接收json格式的小部件定义并初始化一个新的小部件。
This function receives the widget's definition in JSON format and initializes a new widget.
这个格式表示的是odbc函数的语法。
接下来的两行代码检索文章日期(从posted列)并使用之前提到的函数将其转变为RFC 3339格式。
The next two lines retrieve the article date (from the POSTED column) and convert it to RFC 3339 format using the aforementioned function.
soap库将用主机语言编写的信息和格式转化成xml格式的消息,其中包括调用的函数和提供的参数。
The SOAP library converts the information from the host language and format into an XML-formatted message that contains the function called and the arguments supplied.
这是一个定制的PHP函数,可以生成RFC 3339格式的时间戳。
That is a custom-built PHP function that produces a timestamp in RFC 3339 format.
清单1以图表形式展示了从stab格式收集一个函数的信息。
Listing 1 is a diagrammatic representation of gathering information from STAB format for a simple function.
这包括使用数据结构或RPG内置函数%FIELDS更新文件或记录格式。
This includes updating the file or record format using data structures or the RPG built-in function % FIELDS.
请参阅SPARQL的规范,详细学习SPARQL的内置函数、操作符、查询格式和语法,或者参阅更多SPARQL查询示例。
Look at the SPARQL spec to learn in detail about SPARQL's built-in functions, operators, query forms, and syntax, or to see many more example SPARQL queries.
SQL/XML发布函数允许将关系数据转换成 XML 格式。
SQL/XML publishing functions allow you to convert relational data into XML format.
新的DB2XML函数允许以简单、直接的方式创建 XML格式的数据。
The new DB2 XML functions permit the creation of data in the XML format in a simple and direct way.
通过导入函数为输出数据格式创建一个xml类型树。
Creating an XML type tree for output data format by import function.
脚本函数应该能够以多种格式生成ewu值,比如十进制、二进制、八进制或十六进制。
The script function should be able to generate EWU values in multiple formats, such as base 10, binary, octal, or hexadecimal.
将格式与函数分离的更清晰、因而也更好的代码是。
Even better code, because it is clearer and separates form from function, would be.
我最喜欢的方式是使用配置文件并在配置文件中定义一个常量,这个常量保留date函数的格式字符串。
My favorite is to use a configuration file and define a constant in it that holds the format string for the date function.
如果代码的格式很好,那么这将与main函数的结束花括号匹配。
If your code is formatted nicely, this will match the closing brace of your main function.
此函数使用的格式字符串在很多地方都有描述(如PHP.net中),故在此不再赘述。
The formatting strings used for this function are described in many places, such as PHP.net, so I won't reiterate them here.
为了确保目录中的数据以有效的XML格式传送,可以使用ColdFusion函数XmlFormat。
To make sure data from the catalog is transmitted in a valid XML format, you use the ColdFusion function XmlFormat.
包装器函数名称的格式为xajax _ phpfunction。
注意第48和60行中数字字段格式掩码定义里“format -numbe”函数的使用。
Notice in lines 48 and 60 the use of the "format-numbe" function in the numeric field format mask definition.
在清单22中,原生soliddb函数TIMESTAMPDIFF是使用{fn TIMESTAMPDIFF(…)}格式编写的。
In Listing 22, the native solidDB function TIMESTAMPDIFF in is written using the format of {fn TIMESTAMPDIFF (...)}.
然后设定数据输出的格式可以使用printf()函数(类似于C/C++),也可以使用适当的HTML表标记。
Then formatting the output of the data is a matter of either using the printf() function, which is similar to C/C++, or using proper HTML table tags.
按以下格式使用这个函数:@@uft:PID:*:picked_function:entry。
Use that function in the following format: @@uft:PID:*:picked_function:entry. For example
SOAP请求的响应格式与函数相同,只不过在信封内容的后面加上了Response,如清单2所示。
Responses from a SOAP request are always formatted as the same function, with Response appended to the end of the envelope detail, as you can see in Listing 2.
Zorba还包含解析用JSON编码的数据的函数,并用xml格式返回数据。
Zorba also includes functions to parse JSON-encoded data, and return it in an XML format. Listing 28 has an example of using Zorba's json function to return an XML representation of a json packet.
本文的后面部分简要描述了runsearch函数中用于以html格式显示搜索结果的技术。
The remainder of this article briefly describes the technique used in the RunSearch function to display the search results as HTML.
应用推荐