Exemple #1
0
 /**
  * {@inheritdoc}
  */
 public static function fromInternal($stamp, $format = null)
 {
     $format = is_null($format) ? 18 : BC::max([BC::min([$format, 18], 0), 0], 0);
     return BC::round(Calends::fromInternalToUnix($stamp), $format);
 }