objectionary / ideas

Here we keep ideas for future research in EO programming language and Polystat static analyzer
https://www.eolang.org
7 stars 0 forks source link

eo-time: date and time objects #36

Open yegor256 opened 2 years ago

yegor256 commented 2 years ago

Would be great to have an object representing time:

+import org.eolang.time

time '2021-03-29T18:43:54Z' > t
stdout 
  t.iso8601
t.minutes > x
t.day-of-week > d
t.shift '+7' > t1

And so on...

yegor256 commented 2 years ago

here: https://github.com/objectionary/eo-time