MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / GetDos

Method GetDos

Libraries/unrar/timefn.cpp:201–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199
200
201uint RarTime::GetDos()
202{
203 RarLocalTime lt;
204 GetLocal(&lt);
205 uint DosTime=(lt.Second/2)|(lt.Minute<<5)|(lt.Hour<<11)|
206 (lt.Day<<16)|(lt.Month<<21)|((lt.Year-1980)<<25);
207 return DosTime;
208}
209
210
211void RarTime::SetDos(uint DosTime)

Callers 1

RARReadHeaderExFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected