module FancyDates
  (1..12).each do |mo| 
    t = Time.mktime(1999,mo)
...

Ruby Cleaner way to define const...

by erikpukinskis.myopenid.com, January 19, 2010 20:45, 4 refactorings, tagged with ruby, DateTime

This is code that lets you ...

6015f1c7d2c5057f668f4951f3303b28 Talk
public static class MidnightPartitioner
    {
        public struct SchedulePartition
...

C# Split DateTime Range Around...

by MRuston, July 01, 2009 14:42, 3 refactorings, tagged with split, DateTime, midnight

I have this little class ca...

Bac730989e88a593d5f23cfa4d41dc6f Talk