pike.git / lib / modules / Calendar.pmod / Badi.pmod

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Badi.pmod:451:    {    return vahid_name();    }      //! method Year year()   //! method Year year(int n)   //! method Year year(string name)   //! return a year in the vahid by number or name:   //!   //! <tt>vahid-&gt;year("Alif")</tt> -  +     cYear year(int|string ... yp)    {    int num;    if (sizeof(yp) &&    stringp(yp[0]))    {    num=((int)yp[0]) ||    rules->language[f_year_number_from_name](yp[0]);    if (!num)    error("no such year %O in %O\n",yp[0],this);