This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

dst?

        # Time.dst?

(from ruby core)
---
    dst?()

---

Returns `true` if *time* occurs during Daylight Saving Time in its time
zone.

    # CST6CDT:
      Time.local(2000, 1, 1).zone    #=> "CST"
      Time.local(2000, 1, 1).isdst   #=> false
      Time.local(2000, 1, 1).dst?    #=> false
      Time.local(2000, 7, 1).zone    #=> "CDT"
      Time.local(2000, 7, 1).isdst   #=> true
      Time.local(2000, 7, 1).dst?    #=> true

    # Asia/Tokyo:
      Time.local(2000, 1, 1).zone    #=> "JST"
      Time.local(2000, 1, 1).isdst   #=> false
      Time.local(2000, 1, 1).dst?    #=> false
      Time.local(2000, 7, 1).zone    #=> "JST"
      Time.local(2000, 7, 1).isdst   #=> false
      Time.local(2000, 7, 1).dst?    #=> false


(This method is an alias for Time#isdst.)

Returns `true` if *time* occurs during Daylight Saving Time in its time
zone.

    # CST6CDT:
      Time.local(2000, 1, 1).zone    #=> "CST"
      Time.local(2000, 1, 1).isdst   #=> false
      Time.local(2000, 1, 1).dst?    #=> false
      Time.local(2000, 7, 1).zone    #=> "CDT"
      Time.local(2000, 7, 1).isdst   #=> true
      Time.local(2000, 7, 1).dst?    #=> true

    # Asia/Tokyo:
      Time.local(2000, 1, 1).zone    #=> "JST"
      Time.local(2000, 1, 1).isdst   #=> false
      Time.local(2000, 1, 1).dst?    #=> false
      Time.local(2000, 7, 1).zone    #=> "JST"
      Time.local(2000, 7, 1).isdst   #=> false
      Time.local(2000, 7, 1).dst?    #=> false



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.