PHP Class spec\LdapTools\AttributeConverter\ConvertWindowsGeneralizedTimeSpec

Inheritance: extends PhpSpec\ObjectBehavior
Show file Open project: ldaptools/ldaptools

Protected Properties

Property Type Description
$time
$tsWithOffset
$utcTime

Public Methods

Method Description
it_is_initializable ( )
it_should_implement_AttributeConverterInterface ( )
it_should_return_a_datetime_object_equal_to_the_generalized_timestamp_when_calling_fromLdap ( )
it_should_return_a_datetime_object_with_the_offset_applied_if_present_when_calling_fromLdap ( )
it_should_return_a_php_DateTime_object_from_ldap_generalized_time ( )
it_should_return_a_string_timestamp_equal_to_the_php_DateTime_when_calling_toLdap ( )
it_should_return_a_string_timestamp_with_offset_when_present_when_calling_toLdap ( )

Method Details

it_is_initializable() public method

public it_is_initializable ( )

it_should_implement_AttributeConverterInterface() public method

it_should_return_a_datetime_object_equal_to_the_generalized_timestamp_when_calling_fromLdap() public method

it_should_return_a_datetime_object_with_the_offset_applied_if_present_when_calling_fromLdap() public method

it_should_return_a_php_DateTime_object_from_ldap_generalized_time() public method

it_should_return_a_string_timestamp_equal_to_the_php_DateTime_when_calling_toLdap() public method

it_should_return_a_string_timestamp_with_offset_when_present_when_calling_toLdap() public method

Property Details

$time protected property

protected $time

$tsWithOffset protected property

protected $tsWithOffset

$utcTime protected property

protected $utcTime