variant_new_datetime


Description:


[ Version ( since = "2.52" ) ]
public Variant variant_new_datetime (Date date)

Construct a special Variant used to serialize a <dateTime.

iso8601> node. See build_request.

The actual type of the returned Variant is unspecified and "v" or "*" should be used in variant format strings. For example:

args = g_variant_new ("(v)", soup_xmlrpc_variant_new_datetime (date));

Parameters:

date

a Date

Returns:

a floating Variant.


Namespace: Soup.XMLRPC
Package: libsoup-2.4