summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-11 16:28:13 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-11 16:28:13 +0000
commit4e8d188ead792761c590e7c313039176f66e4df5 (patch)
tree0206c86fd69a00c9f2202bd4500d580592c6a2f1
parentf119915f5139a33273363c64ca1f3862f171e71c (diff)
update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--time.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/time.c b/time.c
index 6bf6035..1a08d0a 100644
--- a/time.c
+++ b/time.c
@@ -4851,6 +4851,12 @@ time_load(VALUE klass, VALUE str)
* with each other -- times that are apparently equal when displayed may be
* different when compared.
*
+ * Current implemetation uses a signed 63 bit integer, Bignum or Rational.
+ * The integer is a number of nanoseconds since the _Epoch_ which can
+ * represent 1823-11-12 to 2116-02-20.
+ * When Bignum or Rational is used (before 1823, after 2116, under nanosecond),
+ * Time works slower than the integer is used.
+ *
* = Examples
*
* All of these examples were done using the EST timezone which is GMT-5.