Ft.Xml.Xslt.Exslt.DateTime

Modules

Conversions  boolean  number  time 
FtTime  calendar  re   

Classes

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Xml.Xslt.Exslt.DateTime'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class ExsltError

Data and other non-method functions defined here:

ILLEGAL_DURATION_FORMAT = 3100
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
ILLEGAL_RESULT_SIBLINGS = 3201
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RESULT_NOT_IN_FUNCTION = 3200
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNSUPPORTED_DOCUMENT_URI_SCHEME = 3000
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'Ft.Xml.Xslt.Exslt.MessageSource'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class Node

Data and other non-method functions defined here:

ATTRIBUTE_NODE = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CDATA_SECTION_NODE = 4
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
COMMENT_NODE = 8
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DOCUMENT_FRAGMENT_NODE = 11
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DOCUMENT_NODE = 9
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DOCUMENT_TYPE_NODE = 10
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
ELEMENT_NODE = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
ENTITY_NODE = 6
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
ENTITY_REFERENCE_NODE = 5
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NOTATION_NODE = 12
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
PROCESSING_INSTRUCTION_NODE = 7
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TEXT_NODE = 3
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_ANCESTOR = 4
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_DESCENDENT = 8
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_DISCONNECTED = 0
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_EQUIVALENT = 16
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_FOLLOWING = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_PRECEDING = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TREE_POSITION_SAME_NODE = 32
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'xml.dom'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__init__(self, root, namespaceUri, localName, baseUri)
__str__(self)
appendChild(self, child)
expandQName(self, qname, refNode=None)
insertChild(self, index, child)
instantiate(self, context, processor)
parseAVT(self, avt)
parseExpression(self, expression)
parsePattern(self, pattern)
processChildren(self, context, processor)
splitQName(self, qname)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Xml.Xslt.StylesheetTree'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
category = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
content = <Ft.Xml.Xslt.ContentInfo.Rep instance>
legalAttrs = None
validator = <Ft.Xml.Xslt.ContentInfo.Validator instance>
class XsltRuntimeException(Ft.Xml.Xslt.XsltException)
__init__(self, code, xsltelement, *args)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Xml.Xslt'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Functions

Add(context, dateTime, duration)
AddDuration(context, duration1, duration2)
Date(context, dateTime=None)
DateTime(context)
DayAbbreviation(context, dateTime=None)
DayInMonth(context, dateTime=None)
DayInWeek(context, dateTime=None)
DayInYear(context, dateTime=None)
DayName(context, dateTime=None)
DayOfWeekInMonth(context, dateTime=None)
Difference(context, dateTime1, dateTime2)
Duration(context, seconds)
FormatDate(context, dateTime, pattern)
HourInDay(context, dateTime=None)
LeapYear(context, dateTime=None)
MinuteInHour(context, dateTime=None)
MonthAbbreviation(context, dateTime=None)
MonthInYear(context, dateTime=None)
MonthName(context, dateTime=None)
ParseDate(context, dateString, pattern)
SecondInMinute(context, dateTime=None)
Seconds(context, dateOrDuration)
SecondsFromDate(context, date)
SecondsFromDuration(duration)
Sum(context, nodeset)
Time(context, dateTime=None)
WeekInMonth(context, dateTime=None)
WeekInYear(context, dateTime=None)
Year(context, dateTime=None)
_coerce(dateTime)
_moLen(year, month)
_strptime(time, format)
_strptimeJava(time, format)
_strptimePython = strptime(...)
strptime(string, format) -> tuple

Parse a string to a time tuple according to a format specification.
See the library reference manual for formatting codes (same as strftime()).
ceil(...)
ceil(x)

Return the ceiling of x as a float.
This is the smallest integral value >= x.

Data

EXSL_DATE_TIME_NS = 'http://exslt.org/dates-and-times'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
ExtElements = {}
ExtFunctions = {('http://exslt.org/dates-and-times', 'add'): <function Add>, ('http://exslt.org/dates-and-times', 'date'): <function Date>, ('http://exslt.org/dates-and-times', 'date-time'): <function DateTime>, ('http://exslt.org/dates-and-times', 'day-abbreviation'): <function DayAbbreviation>, ('http://exslt.org/dates-and-times', 'day-in-month'): <function DayInMonth>, ('http://exslt.org/dates-and-times', 'day-in-week'): <function DayInWeek>, ('http://exslt.org/dates-and-times', 'day-in-year'): <function DayInYear>, ('http://exslt.org/dates-and-times', 'day-name'): <function DayName>, ('http://exslt.org/dates-and-times', 'day-of-week-in-month'): <function DayOfWeekInMonth>, ('http://exslt.org/dates-and-times', 'difference'): <function Difference>, ...}
ExtNamespaces = {'http://exslt.org/dates-and-times': 'date'}
ISO_8601_DATE = '%Y-%m-%d'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
ISO_8601_DATETIME = '%Y-%m-%dT%H:%M:%S'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
ISO_8601_TIME = '%H:%M:%S'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Xml/Xslt/Exslt/DateTime.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Xml.Xslt.Exslt.DateTime'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
durationRE = <_sre.SRE_Pattern object>