~openerp-dev/openobject-addons/acct_prj_hr_logs

« back to all changes in this revision

Viewing changes to resource/faces/pcalendar.py

  • Committer: pap(openerp)
  • Date: 2010-06-21 05:19:03 UTC
  • mfrom: (3638.1.26 trunk-dev-addons3)
  • Revision ID: pap@tinyerp.co.in-20100621051903-lm0gpjuehqakpntg
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
941
941
    cal = Calendar()
942
942
 
943
943
    start = EndDate("10.1.2005")
944
 
    print "start", start.strftime(), type(start)
945
944
 
946
945
    delay = Minutes("4H")
947
 
    print "delay", delay, delay.strftime()
948
 
 
949
 
    print "Start", cal.StartDate is StartDate
950
 
    print "base", cal.StartDate.__bases__[0] == StartDate.__bases__[0]
951
 
    print "type", type(start)
952
 
 
953
 
    print "convert start"
 
946
 
954
947
    start2 = cal.StartDate(start)
955
 
    print "convert end"
956
948
 
957
949
    start3 = cal.StartDate("10.1.2005")
958
 
    print "start2", start2.strftime(), type(start2)
959
950
#@-node:@file pcalendar.py
960
951
#@-leo