메소드 |
설명 |
|
__construct ( ValueObjects\StringLiteral\StringLiteral $name ) |
Returns a new TimeZone object |
|
__toString ( ) : string |
Returns timezone name as string |
|
fromDefault ( ) : self |
Returns default TimeZone |
|
fromNative ( ) : self |
Returns a new Time object from native timezone name |
|
fromNativeDateTimeZone ( DateTimeZone $timezone ) : self |
Returns a new Time from a native PHP \DateTime |
|
getName ( ) : ValueObjects\StringLiteral\StringLiteral |
Returns timezone name |
|
sameValueAs ( ValueObjects\ValueObjectInterface $timezone ) : boolean |
Tells whether two DateTimeZone are equal by comparing their names |
|
toNativeDateTimeZone ( ) : DateTimeZone |
Returns a native PHP \DateTimeZone version of the current TimeZone. |
|