[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/ramsey/uuid/src/Converter/Time/ -> BigNumberTimeConverter.php (summary)

This file is part of the ramsey/uuid library For the full copyright and license information, please view the LICENSE file that was distributed with this source code.

Copyright: Copyright (c) Ben Ramsey <[email protected]>
License: http://opensource.org/licenses/MIT MIT
File Size: 59 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BigNumberTimeConverter:: (1 method):
  calculateTime()


Class: BigNumberTimeConverter  - X-Ref

BigNumberTimeConverter uses the moontoast/math library's `BigNumber` to
provide facilities for converting parts of time into representations that may
be used in UUIDs

calculateTime($seconds, $microSeconds)   X-Ref
Uses the provided seconds and micro-seconds to calculate the time_low,
time_mid, and time_high fields used by RFC 4122 version 1 UUIDs

param: string $seconds
param: string $microSeconds
return: string[] An array containing `low`, `mid`, and `high` keys



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer