Zeitgeist.Timestamp
        
        Description:
        
          Convenience functions for dealing with timestamps and dates
          include: zeitgeist.h
          A suite of convenience functions for dealing with timestamps and dates.
          Zeitgeist timestamps are represented as gint64s with the number of milliseconds since the Unix Epoch.
         
        Content:
        Constants:
        
          - public const int64SECONDA second represented as a Zeitgeist timestamp (ie. 1000ms)
             
- public const int64MINUTEA minute represented as a Zeitgeist timestamp (ie. 60000ms)
             
- public const int64HOURAn hour represented as a Zeitgeist timestamp (ie. 3600000ms)
             
- public const int64DAYA day represented as a Zeitgeist timestamp (ie. 86400000ms)
             
- public const int64WEEKA week represented as a Zeitgeist timestamp (ie. 604800000ms)
             
- public const int64YEARA year represented as a Zeitgeist timestamp (ie. 31556952000ms). Be 
                warned that a year is not 365 days, but in fact 365.2425 days, to account for leap years.
             
Functions:
        
          - public int64from_timeval (TimeValtimeval)Convert a GLib.TimeValto an amount of milliseconds since
                the Unix Epoch
 
- public TimeValto_timeval (int64timestamp)Write a Zeitgeist timestamp to a GLib.TimeValinstance. 
                Note that Zeitgeist uses only a millisecond resolution, whereasGLib.TimeValhas microsecond resolution. This means that 
                the lower three digits of @tv.tv_usec will always be 0.
 
- public int64from_now ()Return the current timestamp in milliseconds.
             
- public int64from_iso8601 (stringdatetime)Parse a timestamp from an ISO8601-encoded string.
             
- public stringto_iso8601 (int64timestamp)Convert a timestamp to a human-readable ISO8601 format
             
- public int64from_date (Datedate)Convert a GDate to a Zeitgeist timestamp
             
- public int64from_dmy (DateDayday,DateMonthmonth,DateYearyear)Convert a day, month, year tuple into a Zeitgeist timestamp
             
- public Dateto_date (int64timestamp)Write a timestamp to a GLib.Datestructure
 
- public int64next_midnight (int64timestamp)Calculate the timestamp for the next midnight after the given 
                timestamp.
             
- public int64prev_midnight (int64timestamp)Calculate the timestamp for the midnight just before the given 
                timestamp.