File: calc_interval.ppl

package info (click to toggle)
pyxplot 0.9.2-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,288 kB
  • sloc: ansic: 50,373; xml: 1,339; python: 570; sh: 318; makefile: 89
file content (5 lines) | stat: -rw-r--r-- 138 bytes parent folder | download | duplicates (6)
1
2
3
4
5
x = time.fromCalendar(-752,4,21,12,0,0)
y = time.fromCalendar( 476,9, 4,12,0,0)
print y-x
print time.interval(y,x)
print (y-x)/unit(year)