Methods

Class Index [+]

Quicksearch

When::CalendarTypes::YearLengthTableBased

年初を太陽黄経で決定する暦

Private Instance Methods

_sdn_(date) click to toggle source

年初の通日

  date    : [y]
    y - 年

  returns : 年初の通日
     # File when/calendartypes.rb, line 523
523:     def _sdn_(date)
524:       y = +date[0]
525:       t = @formula.cn_to_time(y.to_f + @year_epoch + @cycle_offset)
526:       return (t + 0.5 + @day_offset + @timezone).floor
527:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.