CCT Version 3.0.0.0 2024-04-23 00:00:00 Time flies when you're having fun! File out: ..\..\..\OutputFiles\CCTOut_N_TESTCCCTCRIFF_CCBF.txt ======= TestCCctCRiff_Ccbf() ======= CCT Write binary Cbf to CRiff_Ccbf -------------- Interval -------------- P1I00:01:40n000001234X // UTC1970 0000086500.000001234 Day 1 P1I00:01:40n000001234X // (UTC) Coordinated Universal Time P1I00:01:40n000001234X // UTC1970 0000086500.000001234 Day 1 CBFTime_st:: m_eRateEnumeration CLOCK_9 m_bLocalDateExt FALSE m_b24HourPeriodExt TRUE m_bCounterSign positive m_eCounterSize COUNTERSIZE_48 m_ulCounterLow32 1215753426 CBFCounterHigh16_st:: m_unCounterHigh16 23 CBFTime_st Counter 100000001234 CBF24HourPeriod_st:: m_unDayDuration 1 CBF Total size 14 bytes 112 bits 07 06 -d2 -ec 76 48 01 00 17 00 01 00 00 00 size 14 P1I00:01:40n000001234X // UTC1970 0000086500.000001234 Day 1 P1I00:01:40n000001234X // Win Zone Not Found. 1 P1I00:01:40n000001234X // UTC1970 0000086500.000001234 Day 1 07 06 -d2 -ec 76 48 01 00 17 00 01 00 00 00 size 14 -------------- America/New_York -------------- Set CCT date and time Test One Value and Parse Ccf string D2020-03-08T01:59:59n000000000U-05Zamerica/new_yorkAestV2021aL27S00t01a02cMuCzt+4042+51g-07400+23X // UTC1970 1583650826.000000000 Day 18329 D2020-03-08T01:59:59n000000000U-05Zamerica/new_yorkAestV2021aL27S00t01a02cMuCzt+4042+51g-07400+23X // (UTC-05:00) Eastern Time (US & Canada) D2020-03-08T01:59:59n000000000U-05Zamerica/new_yorkAestV2021aL27S00t01a02cMuCzt+4042+51g-07400+23X // UTC1970 1583650826.000000000 Day 18329 CBFTime_st:: m_eRateEnumeration CLOCK_9 m_bLocalDateExt TRUE m_b24HourPeriodExt FALSE m_bCounterSign positive m_eCounterSize COUNTERSIZE_48 m_ulCounterLow32 634811904 CBFCounterHigh16_st:: m_unCounterHigh16 1676 CBFTime_st Counter 7199000000000 CBFLocalDate_st:: m_l1970DayNumber 18329 m_nLeapsecs 27 m_TZDTimeZoneID_st.m_unZoneIdx idx[255] America/New_York m_TZDTimeZoneID_st.m_unTzDataReleaseYear 49 m_TZDTimeZoneID_st.m_unTzDataReleaseLetter 0 m_TZDTimeZoneID_st.m_bCBFLocationExt TRUE m_TZDTimeZoneID_st.m_bCBFAbbrExt TRUE m_TZDTimeZoneID_st.m_bCBFAbbrChangeExt FALSE m_lUTCOffset -18000 m_eTODMode TOD_LEAPSECOND_UTC_UTC m_eDstMode DSTCOUNTMODE_CONVENTIONAL m_bIsLeapSecondDay FALSE m_bIsLeapSecond FALSE m_bIsLeapSecondNegative FALSE m_bUtcShiftExt FALSE m_bDstBiasExt TRUE m_bDstTransDayExt TRUE CBFAbbr:: est CBFDstBias_st:: m_eDSTBias 0 CBFDstTransDay_st:: m_ulDSTTransTime 7200 m_lDSTBiasChange 3600 CBFLocation_st:: m_i9Lat_Deg 40 m_i7Lat_Min 42 m_i21Lat_uMin 51 m_i9Lgn_Deg -74 m_i7Lgn_Min 0 m_i21Lng_uMin 23 m_iAlt_cm 16777215 m_bSourceIsExtern 0 m_bIsValidLat 1 m_bIsValidLng 1 m_bIsValidAlt 0 CBF Total size 45 bytes 360 bits 07 05 00 76 -d6 25 00 00 -8c 06 -99 47 00 00 -80 0d 00 -ff -80 31 10 -b0 -b9 -d5 00 00 00 00 20 1c 10 0e 00 -e5 -f3 74 33 00 00 05 17 00 -c0 36 -ff -ff -ff 00 2a 03 size 50 D2020-03-08T01:59:59n000000000U-05Zamerica/new_yorkAestV2021aL27S00t01a02cMuCzt+4042+51g-07400+23X // UTC1970 1583650826.000000000 Day 18329 D2020-03-08T01:59:59n000000000U-05Zamerica/new_yorkAestV2021aL27S00t01a02cMuCzt+4042+51g-07400+23X // (UTC-05:00) Eastern Time (US & Canada) D2020-03-08T01:59:59n000000000U-05Zamerica/new_yorkAestV2021aL27S00t01a02cMuCzt+4042+51g-07400+23X // UTC1970 1583650826.000000000 Day 18329 07 05 00 76 -d6 25 00 00 -8c 06 -99 47 00 00 -80 0d 00 -ff -80 31 10 -b0 -b9 -d5 00 00 00 00 20 1c 10 0e 00 -e5 -f3 74 33 00 00 05 17 00 -c0 36 -ff -ff -ff 00 2a 03 size 50 -------------- Add one second -------------- Test One Value and Parse Ccf string D2020-03-08T03:00:00n000000000U-04Zamerica/new_yorkAedtV2021aL27S01t01a02cMuCzt+4042+51g-07400+23X // UTC1970 1583650827.000000000 Day 18329 D2020-03-08T03:00:00n000000000U-04Zamerica/new_yorkAedtV2021aL27S01t01a02cMuCzt+4042+51g-07400+23X // (UTC-05:00) Eastern Time (US & Canada) D2020-03-08T03:00:00n000000000U-04Zamerica/new_yorkAedtV2021aL27S01t01a02cMuCzt+4042+51g-07400+23X // UTC1970 1583650827.000000000 Day 18329 CBFTime_st:: m_eRateEnumeration CLOCK_9 m_bLocalDateExt TRUE m_b24HourPeriodExt FALSE m_bCounterSign positive m_eCounterSize COUNTERSIZE_48 m_ulCounterLow32 2452217856 CBFCounterHigh16_st:: m_unCounterHigh16 2514 CBFTime_st Counter 10800000000000 CBFLocalDate_st:: m_l1970DayNumber 18329 m_nLeapsecs 27 m_TZDTimeZoneID_st.m_unZoneIdx idx[255] America/New_York m_TZDTimeZoneID_st.m_unTzDataReleaseYear 49 m_TZDTimeZoneID_st.m_unTzDataReleaseLetter 0 m_TZDTimeZoneID_st.m_bCBFLocationExt TRUE m_TZDTimeZoneID_st.m_bCBFAbbrExt TRUE m_TZDTimeZoneID_st.m_bCBFAbbrChangeExt FALSE m_lUTCOffset -18000 m_eTODMode TOD_LEAPSECOND_UTC_UTC m_eDstMode DSTCOUNTMODE_CONVENTIONAL m_bIsLeapSecondDay FALSE m_bIsLeapSecond FALSE m_bIsLeapSecondNegative FALSE m_bUtcShiftExt FALSE m_bDstBiasExt TRUE m_bDstTransDayExt TRUE CBFAbbr:: edt CBFDstBias_st:: m_eDSTBias 3600 CBFDstTransDay_st:: m_ulDSTTransTime 7200 m_lDSTBiasChange 3600 CBFLocation_st:: m_i9Lat_Deg 40 m_i7Lat_Min 42 m_i21Lat_uMin 51 m_i9Lgn_Deg -74 m_i7Lgn_Min 0 m_i21Lng_uMin 23 m_iAlt_cm 16777215 m_bSourceIsExtern 0 m_bIsValidLat 1 m_bIsValidLng 1 m_bIsValidAlt 0 CBF Total size 45 bytes 360 bits 07 05 00 -e0 29 -92 00 00 -d2 09 -99 47 00 00 -80 0d 00 -ff -80 31 10 -b0 -b9 -d5 00 00 10 0e 20 1c 10 0e 00 -e5 -e4 74 33 00 00 05 17 00 -c0 36 -ff -ff -ff 00 2a 03 size 50 D2020-03-08T03:00:00n000000000U-04Zamerica/new_yorkAedtV2021aL27S01t01a02cMuCzt+4042+51g-07400+23X // UTC1970 1583650827.000000000 Day 18329 D2020-03-08T03:00:00n000000000U-04Zamerica/new_yorkAedtV2021aL27S01t01a02cMuCzt+4042+51g-07400+23X // (UTC-05:00) Eastern Time (US & Canada) D2020-03-08T03:00:00n000000000U-04Zamerica/new_yorkAedtV2021aL27S01t01a02cMuCzt+4042+51g-07400+23X // UTC1970 1583650827.000000000 Day 18329 07 05 00 -e0 29 -92 00 00 -d2 09 -99 47 00 00 -80 0d 00 -ff -80 31 10 -b0 -b9 -d5 00 00 10 0e 20 1c 10 0e 00 -e5 -e4 74 33 00 00 05 17 00 -c0 36 -ff -ff -ff 00 2a 03 size 50 -------------- Europe/Moscow -------------- Set CCT date and time Test One Value and Parse Ccf string D2014-10-26T01:59:59n000000000U+03w01+02Zeurope/moscowAmskV2021aL25MuCzt+5545+21g+03737+04X // UTC1970 1414278024.000000000 Day 16369 D2014-10-26T01:59:59n000000000U+03w01+02Zeurope/moscowAmskV2021aL25MuCzt+5545+21g+03737+04X // (UTC+03:00) Moscow, St. Petersburg D2014-10-26T01:59:59n000000000U+03w01+02Zeurope/moscowAmskV2021aL25MuCzt+5545+21g+03737+04X // UTC1970 1414278024.000000000 Day 16369 CBFTime_st:: m_eRateEnumeration CLOCK_9 m_bLocalDateExt TRUE m_b24HourPeriodExt FALSE m_bCounterSign positive m_eCounterSize COUNTERSIZE_48 m_ulCounterLow32 634811904 CBFCounterHigh16_st:: m_unCounterHigh16 1676 CBFTime_st Counter 7199000000000 CBFLocalDate_st:: m_l1970DayNumber 16369 m_nLeapsecs 25 m_TZDTimeZoneID_st.m_unZoneIdx idx[211] Europe/Moscow m_TZDTimeZoneID_st.m_unTzDataReleaseYear 49 m_TZDTimeZoneID_st.m_unTzDataReleaseLetter 0 m_TZDTimeZoneID_st.m_bCBFLocationExt TRUE m_TZDTimeZoneID_st.m_bCBFAbbrExt TRUE m_TZDTimeZoneID_st.m_bCBFAbbrChangeExt FALSE m_lUTCOffset 10800 m_eTODMode TOD_LEAPSECOND_UTC_UTC m_eDstMode DSTCOUNTMODE_NOTAPPLICABLE m_bIsLeapSecondDay FALSE m_bIsLeapSecond FALSE m_bIsLeapSecondNegative FALSE m_bUtcShiftExt TRUE m_bDstBiasExt FALSE m_bDstTransDayExt FALSE CBFUtcShift_st:: m_lUtcShiftTime 7200 m_lUtcShift -3600 m_eUtcShiftDay UTCSHIFTDAY_WEST CBFAbbr:: msk CBFLocation_st:: m_i9Lat_Deg 55 m_i7Lat_Min 45 m_i21Lat_uMin 21 m_i9Lgn_Deg 37 m_i7Lgn_Min 37 m_i21Lng_uMin 4 m_iAlt_cm 16777215 m_bSourceIsExtern 0 m_bIsValidLat 1 m_bIsValidLng 1 m_bIsValidAlt 0 CBF Total size 48 bytes 384 bits 07 05 00 76 -d6 25 00 00 -8c 06 -f1 3f 00 00 -80 0c 00 -d3 -80 31 10 30 2a 04 01 00 20 1c -f0 -f1 0d -ed -f3 6b 15 00 -e0 06 04 00 -a0 04 -ff -ff -ff 4a 2d 03 size 48 D2014-10-26T01:59:59n000000000U+03w01+02Zeurope/moscowAmskV2021aL25MuCzt+5545+21g+03737+04X // UTC1970 1414278024.000000000 Day 16369 D2014-10-26T01:59:59n000000000U+03w01+02Zeurope/moscowAmskV2021aL25MuCzt+5545+21g+03737+04X // (UTC+03:00) Moscow, St. Petersburg D2014-10-26T01:59:59n000000000U+03w01+02Zeurope/moscowAmskV2021aL25MuCzt+5545+21g+03737+04X // UTC1970 1414278024.000000000 Day 16369 07 05 00 76 -d6 25 00 00 -8c 06 -f1 3f 00 00 -80 0c 00 -d3 -80 31 10 30 2a 04 01 00 20 1c -f0 -f1 0d -ed -f3 6b 15 00 -e0 06 04 00 -a0 04 -ff -ff -ff 4a 2d 03 size 48 -------------- Add one second -------------- Test One Value and Parse Ccf string D2014-10-26T02:00:00n000000000U+03w01+02Zeurope/moscowAmskV2021aL25MuCzt+5545+21g+03737+04X // UTC1970 1414278025.000000000 Day 16369 D2014-10-26T02:00:00n000000000U+03w01+02Zeurope/moscowAmskV2021aL25MuCzt+5545+21g+03737+04X // (UTC+03:00) Moscow, St. Petersburg D2014-10-26T02:00:00n000000000U+03w01+02Zeurope/moscowAmskV2021aL25MuCzt+5545+21g+03737+04X // UTC1970 1414278025.000000000 Day 16369 CBFTime_st:: m_eRateEnumeration CLOCK_9 m_bLocalDateExt TRUE m_b24HourPeriodExt FALSE m_bCounterSign positive m_eCounterSize COUNTERSIZE_48 m_ulCounterLow32 1634811904 CBFCounterHigh16_st:: m_unCounterHigh16 1676 CBFTime_st Counter 7200000000000 CBFLocalDate_st:: m_l1970DayNumber 16369 m_nLeapsecs 25 m_TZDTimeZoneID_st.m_unZoneIdx idx[211] Europe/Moscow m_TZDTimeZoneID_st.m_unTzDataReleaseYear 49 m_TZDTimeZoneID_st.m_unTzDataReleaseLetter 0 m_TZDTimeZoneID_st.m_bCBFLocationExt TRUE m_TZDTimeZoneID_st.m_bCBFAbbrExt TRUE m_TZDTimeZoneID_st.m_bCBFAbbrChangeExt FALSE m_lUTCOffset 10800 m_eTODMode TOD_LEAPSECOND_UTC_UTC m_eDstMode DSTCOUNTMODE_NOTAPPLICABLE m_bIsLeapSecondDay FALSE m_bIsLeapSecond FALSE m_bIsLeapSecondNegative FALSE m_bUtcShiftExt TRUE m_bDstBiasExt FALSE m_bDstTransDayExt FALSE CBFUtcShift_st:: m_lUtcShiftTime 7200 m_lUtcShift -3600 m_eUtcShiftDay UTCSHIFTDAY_WEST CBFAbbr:: msk CBFLocation_st:: m_i9Lat_Deg 55 m_i7Lat_Min 45 m_i21Lat_uMin 21 m_i9Lgn_Deg 37 m_i7Lgn_Min 37 m_i21Lng_uMin 4 m_iAlt_cm 16777215 m_bSourceIsExtern 0 m_bIsValidLat 1 m_bIsValidLng 1 m_bIsValidAlt 0 CBF Total size 48 bytes 384 bits 07 05 00 40 71 61 00 00 -8c 06 -f1 3f 00 00 -80 0c 00 -d3 -80 31 10 30 2a 04 01 00 20 1c -f0 -f1 0d -ed -f3 6b 15 00 -e0 06 04 00 -a0 04 -ff -ff -ff 4a 2d 03 size 48 D2014-10-26T02:00:00n000000000U+03w01+02Zeurope/moscowAmskV2021aL25MuCzt+5545+21g+03737+04X // UTC1970 1414278025.000000000 Day 16369 D2014-10-26T02:00:00n000000000U+03w01+02Zeurope/moscowAmskV2021aL25MuCzt+5545+21g+03737+04X // (UTC+03:00) Moscow, St. Petersburg D2014-10-26T02:00:00n000000000U+03w01+02Zeurope/moscowAmskV2021aL25MuCzt+5545+21g+03737+04X // UTC1970 1414278025.000000000 Day 16369 07 05 00 40 71 61 00 00 -8c 06 -f1 3f 00 00 -80 0c 00 -d3 -80 31 10 30 2a 04 01 00 20 1c -f0 -f1 0d -ed -f3 6b 15 00 -e0 06 04 00 -a0 04 -ff -ff -ff 4a 2d 03 size 48 ========================================== Your time is up.