Is there a hook/api for time?

For day/night? I think it would be really useful. I think it would be a cool idea to create a system for relative time. Maybe time by a location (chunk, region, faction, etc), or time per individual. The question is all that’s in the title, the rest is just ideas I’ve been brewing up in my head, not things I want bloated onto the API.

My first idea was to use this hypothetical API to divide the day/night cycle by distance so if you’re at 1000, 30, 1000 in the day, then -1000, 30, -1000 could be night. Similar to a spherical world.

Second one was to create it on a user by user basis, and then further implement rules for mob spawning into specific time-independant areas.

I don’t know how possible or improbably this is, so i just figured I’d ask the first things first. Is there a Day/Night or Time API?

If theres something specific you need, comment on Time/DayCycle/MoonPhase API · Issue #393 · SpongePowered/SpongeAPI · GitHub to bump the issue and maybe it will get looked at better.