github.com/qioalice/ekago/v3@v3.3.2-0.20221202205325-5c262d586ee4/ekatime/event_private.go (about)

     1  // Copyright © 2020. All rights reserved.
     2  // Author: Ilya Stroy.
     3  // Contacts: iyuryevich@pm.me, https://github.com/qioalice
     4  // License: https://opensource.org/licenses/MIT
     5  
     6  package ekatime
     7  
     8  //noinspection GoSnakeCaseUsage
     9  const (
    10  	_EVENT_OFFSET_DATE       uint8 = 0
    11  	_EVENT_OFFSET_ID         uint8 = _EVENT_OFFSET_DATE + _DATE_OFFSET_UNUSED
    12  	_EVENT_OFFSET_IS_WORKDAY uint8 = _EVENT_OFFSET_ID + 15
    13  
    14  	_EVENT_MASK_IS_WORKDAY Event = 0x01
    15  	_EVENT_MASK_ID         Event = 0x7FFF
    16  )
    17  
    18  //goland:noinspection GoSnakeCaseUsage
    19  const (
    20  	_EVENT_INVALID Event = 0
    21  )