Returns a degrees/minutes/seconds representation of the coordinate
public toDegreesMinutesSeconds ( ) : ValueObjects\StringLiteral\StringLiteral | ||
return | ValueObjects\StringLiteral\StringLiteral |
public function testToDegreesMinutesSeconds() { $dms = new StringLiteral('40°49′45″N, 16°33′21″E'); $this->assertTrue($this->coordinate->toDegreesMinutesSeconds()->sameValueAs($dms)); }