# Clockwork

## Basics

Do all your favorite clock things:

using Clockwork
@test ๐+๐== ๐ # 3:30 + 1:30 == 5:00
@test ๐^50 == ๐
@test Clock("3:30") == ๐
let cp = Dates.Hour(3) + Dates.Minute(30)
@test Clock(cp) == ๐
@test Dates.CompoundPeriod(๐) == cp
end


## Clock algebra

julia> hooks_nightmare = rand(Clock,10,10)
10x10 Array{Clockwork.Clock,2}:
๐   ๐ข  ๐  ๐ง  ๐ฆ  ๐ง  ๐  ๐  ๐  ๐
๐  ๐  ๐  ๐ข  ๐ค  ๐ฅ  ๐ฅ  ๐ข  ๐ฆ  ๐ฃ
๐  ๐  ๐  ๐  ๐  ๐ฅ  ๐  ๐  ๐ฆ  ๐
๐ง  ๐  ๐  ๐  ๐  ๐  ๐  ๐  ๐  ๐
๐  ๐  ๐  ๐  ๐  ๐  ๐  ๐  ๐ฅ  ๐ง
๐  ๐ง  ๐  ๐  ๐  ๐ง  ๐  ๐  ๐ฅ  ๐
๐  ๐ฃ  ๐  ๐  ๐   ๐  ๐  ๐  ๐ข  ๐
๐  ๐ง  ๐ฅ  ๐ฅ  ๐ง  ๐  ๐  ๐  ๐  ๐ข
๐  ๐  ๐  ๐ง  ๐ง  ๐ฅ  ๐  ๐  ๐ค  ๐
๐  ๐  ๐ฅ  ๐ง  ๐ฃ  ๐  ๐ฅ  ๐  ๐ฅ  ๐
julia> hooks_nightmare * rand(Clock, 10, 2)
10x2 Array{Clockwork.Clock,2}:
๐  ๐
๐  ๐
๐  ๐
๐  ๐
๐ก  ๐ข
๐ง  ๐
๐ง  ๐
๐  ๐
๐ง  ๐
๐  ๐ค