Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TimeConverterInterface.php

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\Converter

Code

public function convertTime(Hexadecimal $uuidTimestamp) : Time;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal