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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Time.pmod:1543:    string format_nice()    {    if (ls==CALUNKNOWN) make_local();    if (!base) make_base();    return base->format_nice()+" "+    sprintf("%d:%02d:%02d",ls/3600,ls/60%60,ls%60);    }      // backwards compatible with calendar I    string iso_name() -  { return this->format_ymd()+" T"+format_tod(); } +  { return this->format_ymd()+"T"+format_tod(); }    string iso_short_name() -  { return this->format_ymd_short()+" T"+(format_tod()-":"); } +  { return this->format_ymd_short()+"T"+(format_tod()-":"); }          TimeRange place(TimeRange what,void|int force)    {    if (what->is_hour)    return hour()->place(what);    if (what->is_minute)    return minute()->place(what);    if (what->is_fraction)    {