-# Copyright (C) 2005-2007 Jelmer Vernooij <jelmer@samba.org>
+# Copyright (C) 2005-2007 Jelmer Vernooij <jelmer@jelmer.uk>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
"""Handling of Subversion properties."""
-__author__ = "Jelmer Vernooij <jelmer@samba.org>"
+__author__ = "Jelmer Vernooij <jelmer@jelmer.uk>"
__docformat__ = "restructuredText"
import bisect, calendar, time, urlparse
def time_to_cstring(timestamp):
"""Determine string representation of a time.
- :param timestamp: Timestamp
+ :param timestamp: Number of microseconds since the start of 1970
:return: string with date
"""
tm_usec = timestamp % 1000000
"""Parse a time from a cstring.
:param text: Parse text
- :return: timestamp
+ :return: number of microseconds since the start of 1970
"""
(basestr, usecstr) = text.split(".", 1)
assert usecstr[-1] == "Z"