Module: Mail::RFC2822::Date0

Defined in:
lib/mail/parsers/rfc2822.rb

Instance Method Summary collapse

Instance Method Details

#dayObject



3201
3202
3203
# File 'lib/mail/parsers/rfc2822.rb', line 3201

def day
  elements[0]
end

#monthObject



3205
3206
3207
# File 'lib/mail/parsers/rfc2822.rb', line 3205

def month
  elements[1]
end

#yearObject



3209
3210
3211
# File 'lib/mail/parsers/rfc2822.rb', line 3209

def year
  elements[2]
end