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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Stardate.pmod:30:    //! (julian day, etc), you can create a stardate    //! from the stardate number. The length    //! of the period will then be zero.    //!    //! You can also omit any arguments to create now.    //!    //! @bugs    //! Since the precision is limited to the float type    //! of Pike you can get non-precise results:    //! -  //! @code{ -  //! > Calendar.Second(Calendar.Stardate.Day(Calendar.Year())); -  //! Result: Second(Fri 31 Dec 1999 23:59:18 CET - Sun 31 Dec 2000 23:59:18 CET) -  //! @} +  //! @code +  //! > Calendar.Second(Calendar.Stardate.Day(Calendar.Year())); +  //! Result: Second(Fri 31 Dec 1999 23:59:18 CET - Sun 31 Dec 2000 23:59:18 CET) +  //! @endcode          void create(mixed ...args)    {    switch (sizeof(args))    {    case 4:    // internal    if (args[0]=="stardate")    {