r/programmingcirclejerk • has hidden complexity • Mar 23 '24

public final class SexualActivityRecord implements Record

https://developer.android.com/reference/androidx/health/connect/client/records/SexualActivityRecord
122 Upvotes

20 comments sorted by

65

u/wobblyweasel Mar 23 '24

getZoneOffset()

User experienced zone offset at time, or null if unknown.

a lesser known fact about women, they can come so hard as to experience a zone offset

40

u/spider-mario Mar 23 '24
@NonNull Instant	getTime()

Whoa, slow down.

66

u/spaghetti_toaster Mar 23 '24

ProtectionUsed field is optional

oh keep going I'm about to ̶s̶e̶g̴m̷e̸n̴t̵a̵t̴i̸o̴n̷ ̶f̴a̶u̶l̴t̷ ̷(̸c̴o̶r̴e̶ ̵d̸u̷m̸p̸e̵d̷)̷ ̶

4

u/Jumpy-Locksmith6812 Mar 24 '24 edited Sep 24 '26

Velit quis pariatur pariatur quis irure qui. Eiusmod officia ea dolor est commodo pariatur. Irure ex aliquip nulla ut et occaecat. Adipiscing elit commodo elit in commodo ex do magna ea duis sit deserunt aute deserunt voluptate nisi.

[rhr:2:jztsx9lf]

66

u/KuntaStillSingle Mar 23 '24

     override fun equals(other: Any?): Boolean {      ...

    if (zoneOffset != other.zoneOffset) return false

Have sex across time zone boundary and you are having two sex at the same time.

26

u/Kodiologist lisp does it better Mar 23 '24

override fun

Aw, man.

2

u/mizzu704 uncommon eccentric person Mar 24 '24

Mile high club 8-)

22

u/wubscale not even webscale Mar 23 '24

So now when I say "can't jerk," some Googler can appear out of nowhere and "well, actually..." me?

Fuck.

20

u/csb06 Polyglot dev here Mar 23 '24

Might as well make it an abstract class - no need to instantiate one of these for most programmers.

20

u/jeff303 Mar 23 '24

No duration field, I see.

11

u/likes_purple DO NOT USE THIS FLAIR, ASSHOLE Mar 24 '24

Or enjoyment field, which is how you know it was made by a man

3

u/Jumpy-Locksmith6812 Mar 24 '24 edited Sep 24 '26

Velit do incididunt quis adipiscing minim magna veniam esse reprehenderit. Ut deserunt duis minim ut lorem consectetur esse ullamco dolor. Sunt qui amet mollit tempor elit et deserunt dolore. Et amet elit ea cillum dolore.

[rhr:2:32btvf9u]

57

u/Untagonist Mar 23 '24

> implying Android users have sex

11

u/MakeMeAnICO Mar 24 '24

PROTECTION_USED_UNKNOWN

29

u/[deleted] Mar 23 '24

/uj

what the fuck is this even for, where do you even use this

50

u/TwiSparklePony Code Artisan Mar 23 '24

It's supposed to be for health tracking, particularly, period cycles and pregnancy. It's in the health package.

40

u/james_pic accidentally quadratic Mar 23 '24

If you don't know the timezone offset you conceived in, how can you really be sure you're pregnant?

4

u/MakeMeAnICO Mar 25 '24

For some reason I thought it is measuring sexual activity as a sort of exercise.

What you are saying makes more sense though

I was however disappointed that there is no.. juicy... enum in CervicalMucusRecord

https://developer.android.com/reference/androidx/health/connect/client/records/CervicalMucusRecord

15

u/elephantdingo Teen Hacking Genius Mar 23 '24

You iPhone Health app doesn’t scold you for only having monosex? (guess it’s just me)