Back to index

moin  1.9.0~rc2
Functions | Variables
MoinMoin.support.xappy.marshall Namespace Reference

Functions

def float_to_string
def date_to_string

Variables

string __docformat__ = "restructuredtext en"

Function Documentation

Marshall a date to a string which sorts in the appropriate manner.

Definition at line 34 of file marshall.py.

00034 
00035 def date_to_string(date):
00036     """Marshall a date to a string which sorts in the appropriate manner.
00037 
00038     """
00039     return '%04d%02d%02d' % (date.year, date.month, date.day)
Marshall a floating point number to a string which sorts in the
appropriate manner.

Definition at line 27 of file marshall.py.

00027 
00028 def float_to_string(value):
00029     """Marshall a floating point number to a string which sorts in the
00030     appropriate manner.
00031 
00032     """
00033     return _log(xapian.sortable_serialise, value)

Here is the call graph for this function:


Variable Documentation

string MoinMoin.support.xappy.marshall.__docformat__ = "restructuredtext en"

Definition at line 21 of file marshall.py.