lib/tzinfo/time_or_datetime.rb in tzinfo-0.3.37 vs lib/tzinfo/time_or_datetime.rb in tzinfo-0.3.38

- old
+ new

@@ -1,7 +1,7 @@ #-- -# Copyright (c) 2006-2012 Philip Ross +# Copyright (c) 2006-2013 Philip Ross # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell @@ -24,9 +24,11 @@ require 'time' module TZInfo # Used by TZInfo internally to represent either a Time, DateTime or integer # timestamp (seconds since 1970-01-01 00:00:00). + # + # @private class TimeOrDateTime #:nodoc: include Comparable # Constructs a new TimeOrDateTime. timeOrDateTime can be a Time, DateTime # or an integer. If using a Time or DateTime, any time zone information is