Module: Mail::RFC2822::Date0

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

Instance Method Summary collapse

Instance Method Details

#dayObject


3280
3281
3282
# File 'lib/mail/parsers/rfc2822.rb', line 3280

def day
  elements[0]
end

#monthObject


3284
3285
3286
# File 'lib/mail/parsers/rfc2822.rb', line 3284

def month
  elements[1]
end

#yearObject


3288
3289
3290
# File 'lib/mail/parsers/rfc2822.rb', line 3288

def year
  elements[2]
end