PHP Class spec\LdapTools\AttributeConverter\ConvertGeneralizedTimeSpec

Inheritance: extends PhpSpec\ObjectBehavior
显示文件 Open project: ldaptools/ldaptools

Protected Properties

Property Type Description
$time
$tsWithOffset
$utcTime

Public Methods

Method Description
it_is_initializable ( )
it_should_error_when_the_value_going_to_ldap_is_not_a_datetime_object ( )
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_error_when_the_value_going_to_ldap_is_not_a_datetime_object() public method

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_oe property

protected $time

$tsWithOffset protected_oe property

protected $tsWithOffset

$utcTime protected_oe property

protected $utcTime