るりまサーチ

最速Rubyリファレンスマニュアル検索!
54件ヒット [1-54件を表示] (0.059秒)
トップページ > クエリ:String[x] > クエリ:rfc2822[x]

別のキーワード

  1. string []=
  2. string slice
  3. string []
  4. string slice!
  5. string gsub!

ライブラリ

クラス

キーワード

検索結果

Time#rfc2822 -> String (18209.0)

2822 で定義されている date-time として表現される形式の文字列を 返します。

...h:mm:ss zone
//}
ただし zone は [+-]hhmm です。
self が UTC time の場合、zone は +0000 になります。

使用例
require 'time'

iso8601_time = '2008-08-31T12:34:56+09:00'
t = Time.iso8601(iso8601_time)
p t.rfc2822 #=> "Sun, 31 Aug 2008 03:34:56 -0000"...

Date#rfc2822 -> String (18203.0)

2822 で定められた書式の文字列を返します。

2822 で定められた書式の文字列を返します。

Time#rfc822 -> String (3109.0)

2822 で定義されている date-time として表現される形式の文字列を 返します。

...h:mm:ss zone
//}
ただし zone は [+-]hhmm です。
self が UTC time の場合、zone は +0000 になります。

使用例
require 'time'

iso8601_time = '2008-08-31T12:34:56+09:00'
t = Time.iso8601(iso8601_time)
p t.rfc2822 #=> "Sun, 31 Aug 2008 03:34:56 -0000"...

Date#rfc822 -> String (3103.0)

2822 で定められた書式の文字列を返します。

2822 で定められた書式の文字列を返します。

NEWS for Ruby 2.2.0 (54.0)

NEWS for Ruby 2.2.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...を書き込みモードで開くようになりました

* String
* 追加: String#unicode_normalize
* 追加: String#unicode_normalize!
* 追加: String#unicode_normalized?

* Symbol
* 改善: String#to_sym, String#intern によって返される多くのシンボルがGC可...
...* Digest::HMAC は削除されました。OpenSSL::HMAC や外部のgemを使ってください。

* time
* Time.parse, Time.strptime, Time.rfc2822, Time.xmlschema may produce
fixed-offset Time objects.
It is happen when usual localtime doesn't preserve the offset from UTC.
*...
...影響のある変更

なし

=== C API の更新

* 非推奨のAPIを削除しました 9502
* Check_SafeStr -> SafeStringValue
* rb_check_safe_str -> SafeStringValue
* rb_quad_pack -> rb_integer_pack
* rb_quad_unpack -> rb_integer_unpack
* rb_read_check : access struct FIL...

絞り込み条件を変える