APIdock / Ruby
/
Browse About
method

monday?

v1_9_1_378 - Show latest stable - Class: Time
monday?()
public

Returns true if time represents Monday.

t = Time.local(2003, 8, 4)       #=> 2003-08-04 00:00:00 -0500
p t.monday?                      #=> true
static VALUE
time_monday(VALUE time)
{
    wday_p(1);
}

Related methods

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

© 2026 APIdock