mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/date/date_core.c: changed some directives.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e26e4b2cdf
commit
af7a09a687
3 changed files with 9 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Sat Mar 12 01:26:24 2011 Tadayoshi Funaba <tadf@dotrb.org>
|
||||||
|
|
||||||
|
* ext/date/date_core.c: changed some directives.
|
||||||
|
|
||||||
Sat Mar 12 01:16:02 2011 Tadayoshi Funaba <tadf@dotrb.org>
|
Sat Mar 12 01:16:02 2011 Tadayoshi Funaba <tadf@dotrb.org>
|
||||||
|
|
||||||
* ext/date/date_core.c, ext/date/lib/*: moved rdoc descriptions.
|
* ext/date/date_core.c, ext/date/lib/*: moved rdoc descriptions.
|
||||||
|
|
|
@ -209,7 +209,7 @@ find_ldoy(int y, double sg, long *rjd, int *ns)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#ifndef NDEBUG
|
||||||
static int
|
static int
|
||||||
find_fdom(int y, int m, double sg, long *rjd, int *ns)
|
find_fdom(int y, int m, double sg, long *rjd, int *ns)
|
||||||
{
|
{
|
||||||
|
@ -344,7 +344,7 @@ jd_to_commercial(long jd, double sg, int *ry, int *rw, int *rd)
|
||||||
*rd = 7;
|
*rd = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#ifndef NDEBUG
|
||||||
static void
|
static void
|
||||||
weeknum_to_jd(int y, int w, int d, int f, double sg, long *rjd, int *ns)
|
weeknum_to_jd(int y, int w, int d, int f, double sg, long *rjd, int *ns)
|
||||||
{
|
{
|
||||||
|
@ -372,7 +372,7 @@ jd_to_weeknum(long jd, int f, double sg, int *ry, int *rw, int *rd)
|
||||||
*rd = MOD(j, 7);
|
*rd = MOD(j, 7);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#ifndef NDEBUG
|
||||||
static void
|
static void
|
||||||
nth_kday_to_jd(int y, int m, int n, int k, double sg, long *rjd, int *ns)
|
nth_kday_to_jd(int y, int m, int n, int k, double sg, long *rjd, int *ns)
|
||||||
{
|
{
|
||||||
|
@ -392,7 +392,7 @@ nth_kday_to_jd(int y, int m, int n, int k, double sg, long *rjd, int *ns)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0
|
#ifndef NDEBUG
|
||||||
inline static int jd_to_wday(long jd);
|
inline static int jd_to_wday(long jd);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -1216,7 +1216,7 @@ class Date
|
||||||
|
|
||||||
def new_start_r(sg=self.class::ITALY) self.class.new_r!(ajd, offset, sg) end # :nodoc:
|
def new_start_r(sg=self.class::ITALY) self.class.new_r!(ajd, offset, sg) end # :nodoc:
|
||||||
|
|
||||||
private :start_r, :new_start_r
|
private :new_start_r
|
||||||
|
|
||||||
# Create a copy of this Date object that uses the Italian/Catholic
|
# Create a copy of this Date object that uses the Italian/Catholic
|
||||||
# Day of Calendar Reform.
|
# Day of Calendar Reform.
|
||||||
|
|
Loading…
Reference in a new issue