I have this UML class and I don't really get why there are 2 setters along with constructors...? How to write that class in code? 

I don't have enough reputation to post images but on the diagram the class looks something like:

```
 Angle
-degrees: int
-minutes: int
-seconds: double

```

---

```
-set(degrees: int, minutes: int, seconds: double): void
-set(fractionalDegrees: double): void

+Angle()
+Angle(fractionalDegrees: double)
+Angle(degrees: int, minutes: int, seconds; double)

```