APIdock / Ruby
/
Browse About
method

thursday?

v2_1_10 - Show latest stable - Class: Time
thursday?()
public

Returns true if time represents Thursday.

t = Time.local(1995, 12, 21)     #=> 1995-12-21 00:00:00 -0600
p t.thursday?                    #=> true
static VALUE
time_thursday(VALUE time)
{
    wday_p(4);
}

Related methods

  • Instance methods
  • +
  • -
  • <=>
  • as_json
  • asctime
  • ctime
  • day
  • dst?
  • eql?
  • friday?
  • getgm
  • getlocal
  • getutc
  • gmt?
  • gmt_offset
  • gmtime
  • gmtoff
  • hash
  • hour
  • httpdate
  • initialize_copy
  • inspect
  • isdst
  • iso8601
  • localtime
  • mday
  • min
  • mon
  • monday?
  • month
  • nsec
  • rake_original_time_compare
  • rfc2822
  • rfc822
  • round
  • saturday?
  • sec
  • strftime
  • subsec
  • succ
  • sunday?
  • thursday?
  • to_a
  • to_date
  • to_datetime
  • to_f
  • to_i
  • to_json
  • to_r
  • to_s
  • to_time
  • tuesday?
  • tv_nsec
  • tv_sec
  • tv_usec
  • usec
  • utc
  • utc?
  • utc_offset
  • w3cdtf
  • wday
  • wednesday?
  • xmlschema
  • yday
  • year
  • zone
  • Class methods
  • at
  • gm
  • httpdate
  • iso8601
  • json_create
  • local
  • mktime
  • new
  • now
  • parse
  • rfc2822
  • rfc822
  • strptime
  • utc
  • w3cdtf
  • xmlschema
  • zone_offset
  • Private methods
  • privateapply_offset
  • privatemake_time
  • privatemonth_days
  • privatezone_utc?
  • private_dump
  • privatemarshal_dump
  • privatemarshal_load
APIdock API Documentation Browser

© 2026 APIdock