If you also think that using the Astronomy nodes to handle times and dates is a pain then this pack could make you happy.
Since v0.3 (thanks to sebl):
You can find the source code here:https://github.com/letmp/vvvv-Time
You can use vvvv-time in your own project by adding VVVV.Packs.Time as nuget dependency to make your nodes compatible with this contribution.https://www.nuget.org/packages/VVVV.Packs.Time/
Comments and bugreports are highly appreciated!
And here is a funny new years eve patch.
You can see when everyone steps into 2014 ;)
Started on some time nodes before, will have a look later and see if I have something to complement this contribution.
thanks for that
Thank you for this TMP! Real nice.
Thanks! Was here another plugin like this?
this is very essential.
hey sansui, of course you can ask questions ;)
as stated on microsofts developer network ( http://msdn.microsoft.com/en-us/library/system.datetime.dayofweek(v=vs.90).aspx ) the constants in the DayOfWeek enums range from 0(=sunday) to 6(=saturday).
the standard gregorian (astronomy split) node uses the SysUtils.DayOfWeek function ( http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/SysUtils_DayOfWeek.html ) and counts from 1 (=sunday) to 7 (=saturday).
it is a design decision but from a computer scientists view it makes more sense to count from 0 to 6 ;)
thank you for answer!
I got it.
i also stumbled about nodatime and decided not to use it, because i didn't want the time pack to be dependent of a foreign framework (that is not "finished" yet). but it indeed looks very interesting and offers many additional features that could be useful in vvvv.
regarding to the roadmap ( http://nodatime.org/developer/roadmap.html ) and current limitations ( http://nodatime.org/1.2.x/userguide/limitations.html ) it seems to be a good idea to revisit nodatime when version 2.0 gets released and rewrite the timepack with the help of it.
thanks for contribution, but i cant run pack with fresh beta32_x86.
had no problem with b31.2
the time-pack should be beta32 compatible now.
the core of the time pack is available via nuget now (vvvv.packs.time).
you can access many functions to handle conversion/arithmetic easily and make your nodes compatible with the time pack.
anonymous user login