sact.epoch

Time object subclassing datetime allowing diverting local clock mecanism
Download

sact.epoch Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Publisher Name:
  • SecurActive SA
  • Publisher web site:
  • http://securactive.net

sact.epoch Tags


sact.epoch Description

Time object subclassing datetime allowing diverting local clock mecanism sact.epoch provides a time abstraction mecanism, allowing code that would use it as reference to be diverted both on the local time zone and the real time.This allows clock-dependent code to be tested. See Getting started section for a more thorough explanation.Additionnaly, as an abstraction of the legacy datetime object, Time object provided in sact.epoch.Time provides some common helpers and force this object to always provide a timezone.sact.epoch objects will be of some help:- if your application manage 2+ different timezones (ie: UTC and local timezone), and you are tired of legacy "naive" datetime object on this matter.- if you want to be able to divert local Time, or TimeZone of your application for test purpose. Requirements: · Python What's New in This Release: Changes: · Update Buildout to 1.5.2. · Updated buildout part doc so our docs directory layout remains compatible with collective.sphinx.recipe 1.0.7. Fix: · Some date and time methods failed on already instancied datetime. Other: · Pkg: dev: minor and fixup to autogen.sh script.


sact.epoch Related Software