Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
spec
LdapTools
AttributeConverter
ConvertGeneralizedTimeSpec
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
public
it_should_error_when_the_value_going_to_ldap_is_not_a_datetime_object
( )
it_should_implement_AttributeConverterInterface()
public
method
public
it_should_implement_AttributeConverterInterface
( )
it_should_return_a_datetime_object_equal_to_the_generalized_timestamp_when_calling_fromLdap()
public
method
public
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()
public
method
public
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()
public
method
public
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()
public
method
public
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()
public
method
public
it_should_return_a_string_timestamp_with_offset_when_present_when_calling_toLdap
( )
Property Details
$time
protected_oe property
protected
$time
$tsWithOffset
protected_oe property
protected
$tsWithOffset
$utcTime
protected_oe property
protected
$utcTime