function TimeConverterInterface::convertTime
Converts a timestamp extracted from a UUID to a Unix timestamp
@psalm-pure
Parameters
Hexadecimal $uuidTimestamp A hexadecimal representation of a UUID: timestamp; a UUID timestamp is a count of 100-nanosecond intervals since UTC 00:00:00.00, 15 October 1582.
Return value
Time An instance of {@see Time}
4 methods override TimeConverterInterface::convertTime()
- BigNumberTimeConverter::convertTime in vendor/
ramsey/ uuid/ src/ Converter/ Time/ BigNumberTimeConverter.php - Converts a timestamp extracted from a UUID to a Unix timestamp
- GenericTimeConverter::convertTime in vendor/
ramsey/ uuid/ src/ Converter/ Time/ GenericTimeConverter.php - Converts a timestamp extracted from a UUID to a Unix timestamp
- PhpTimeConverter::convertTime in vendor/
ramsey/ uuid/ src/ Converter/ Time/ PhpTimeConverter.php - Converts a timestamp extracted from a UUID to a Unix timestamp
- UnixTimeConverter::convertTime in vendor/
ramsey/ uuid/ src/ Converter/ Time/ UnixTimeConverter.php - Converts a timestamp extracted from a UUID to a Unix timestamp
File
-
vendor/
ramsey/ uuid/ src/ Converter/ TimeConverterInterface.php, line 57
Class
- TimeConverterInterface
- A time converter converts timestamps into representations that may be used in UUIDs
Namespace
Ramsey\Uuid\ConverterCode
public function convertTime(Hexadecimal $uuidTimestamp) : Time;