google日歷源碼
❶ google日歷
Google 日歷不用錢.
電話通知 (你說的是簡訊吧?) 也不要錢.
❷ 【精品】如何使用Google日歷
google日歷 google 日歷 農歷 google日歷無法同步 google日歷下載 google日歷 手機 outlook google日歷 google日歷客戶端 google日歷同步 google日歷桌面版 google日歷桌面
❸ google日歷是用什麼寫的
英文維基上寫的是java
❹ google小工具中的日歷
笨 卸載了在重裝一遍不好了 有這么麻煩么
❺ 求「日梭萬年歷」網路版源碼,或計算24節氣方法
struct ConvDate
{
int Source;
int SolarYear;
int SolarMonth;
int SolarDate;
int LunarYear;
int LunarMonth;
int LunarDate;
int Weekday;
int Kan;
int Chih;
};
unsigned __int64 m_ui64SolarTerms[24];
unsigned __int64 m_ui64MonthDays[13];
m_ui64MonthDays[0] = 0ui64;
m_ui64MonthDays[1] = 31ui64;
m_ui64MonthDays[2] = 28ui64;
m_ui64MonthDays[3] = 31ui64;
m_ui64MonthDays[4] = 30ui64;
m_ui64MonthDays[5] = 31ui64;
m_ui64MonthDays[6] = 30ui64;
m_ui64MonthDays[7] = 31ui64;
m_ui64MonthDays[8] = 31ui64;
m_ui64MonthDays[9] = 30ui64;
m_ui64MonthDays[10] = 31ui64;
m_ui64MonthDays[11] = 30ui64;
m_ui64MonthDays[12] = 31ui64;
m_ui64SolarTerms[0] = 0ui64;
m_ui64SolarTerms[1] = 21208ui64;
m_ui64SolarTerms[2] = 42467ui64;
m_ui64SolarTerms[3] = 63836ui64;
m_ui64SolarTerms[4] = 85337ui64;
m_ui64SolarTerms[5] = 107014ui64;
m_ui64SolarTerms[6] = 128867ui64;
m_ui64SolarTerms[7] = 150921ui64;
m_ui64SolarTerms[8] = 173149ui64;
m_ui64SolarTerms[9] = 195551ui64;
m_ui64SolarTerms[10] = 218072ui64;
m_ui64SolarTerms[11] = 240693ui64;
m_ui64SolarTerms[12] = 263343ui64;
m_ui64SolarTerms[13] = 285989ui64;
m_ui64SolarTerms[14] = 308563ui64;
m_ui64SolarTerms[15] = 331033ui64;
m_ui64SolarTerms[16] = 353350ui64;
m_ui64SolarTerms[17] = 375494ui64;
m_ui64SolarTerms[18] = 397447ui64;
m_ui64SolarTerms[19] = 419210ui64;
m_ui64SolarTerms[20] = 440795ui64;
m_ui64SolarTerms[21] = 462224ui64;
m_ui64SolarTerms[22] = 483532ui64;
m_ui64SolarTerms[23] = 504758ui64;
/* 24節氣計算 */
int __fastcall IsLeapYear(int iYear)
{
if ((iYear & 3) != 0)
{
return 0;
}
else if (iYear % 100 != 0)
{
return 1;
}
else if (iYear % 400 == 0)
{
return 1;
}
else
{
return 0;
}
}
int __fastcall TheSolarTerm(int iYear, int n)
{
unsigned __int64 k;
unsigned __int64 ddate_utc = 22085493000000ui64;
unsigned __int64 doffdate, dadddate;
doffdate = m_ui64SolarTerms[n] * 600000ui64;
doffdate += static_cast<unsigned __int64>(iYear - 1900) * 315569259747ui64;
doffdate -= ddate_utc;
doffdate /= 864000000ui64; //86400: 60 * 60 * 24 * 1000
int i = 1969;
dadddate = 0ui64;
while (dadddate < doffdate)
{
i++;
k = dadddate;
dadddate += 365ui64 + static_cast<unsigned __int64>(IsLeapYear(i));
};
if (dadddate > doffdate)
{
int j = 0;
dadddate = k;
while (dadddate < doffdate && j < 12)
{
j++;
k = dadddate;
dadddate += m_ui64MonthDays[j];
if (j == 2 && (IsLeapYear(i) != 0))
{
dadddate++;
}
};
return static_cast<int>(doffdate - k + 1ui64);
}
else // j = doffdate
{
return 1;
}
}
int CalConv(struct ConvDate &cd)
{
int leap, d, sm, y, im, l1, l2, acc, i, lm, kc;
if (cd.Source == 0) /* Solar */
{
if (cd.SolarYear <= FIRSTYEAR || cd.SolarYear > LASTYEAR)
{
return 1;
}
sm = cd.SolarMonth - 1;
if (sm < 0 || sm > 11)
{
return 2;
}
leap = GetLeap(cd.SolarYear);
d = (sm == 1) ? (leap + 28) : SolarCal[sm];
if (cd.SolarDate < 1 || cd.SolarDate > d)
{
return 3;
}
y = cd.SolarYear - FIRSTYEAR;
acc = SolarDays[leap][sm] + cd.SolarDate;
cd.Weekday = (acc + LunarCal[y].BaseWeekday) % 7;
kc = acc + LunarCal[y].BaseKanChih;
cd.Kan = kc % 10;
cd.Chih = kc % 12;
if (acc <= LunarCal[y].BaseDays)
{
y--;
cd.LunarYear = cd.SolarYear - 1;
leap = GetLeap(cd.LunarYear);
sm += 12;
acc = SolarDays[leap][sm] + cd.SolarDate;
}
else
{
cd.LunarYear = cd.SolarYear;
}
l1 = LunarCal[y].BaseDays;
for (i = 0; i < 13; i++)
{
l2 = l1 + LunarCal[y].MonthDays[i] + 29;
if (acc <= l2)
{
break;
}
l1 = l2;
}
cd.LunarMonth = i + 1;
cd.LunarDate = acc - l1;
im = LunarCal[y].Intercalation;
if (im != 0 && cd.LunarMonth > im)
{
cd.LunarMonth--;
if (cd.LunarMonth == im)
{
cd.LunarMonth = -im;
}
}
if (cd.LunarMonth > 12)
{
cd.LunarMonth -= 12;
}
}
else /* Lunar */
{
if (cd.LunarYear < FIRSTYEAR || cd.LunarYear >= LASTYEAR)
{
return 1;
}
y = cd.LunarYear - FIRSTYEAR;
im = LunarCal[y].Intercalation;
lm = cd.LunarMonth;
if (lm < 0)
{
if (lm != -im)
{
return 2;
}
}
else if (lm < 1 || lm > 12)
{
return 2;
}
if (im != 0)
{
if (lm > im)
{
lm++;
}
else if (lm == -im)
{
lm = im + 1;
}
}
lm--;
if (cd.LunarDate > LunarCal[y].MonthDays[lm] + 29)
{
return 3;
}
acc = LunarCal[y].BaseDays;
for (i = 0; i < lm; i++)
{
acc += LunarCal[y].MonthDays[i] + 29;
}
acc += cd.LunarDate;
leap = GetLeap(cd.LunarYear);
for (i = 13; i >= 0; i--)
{
if (acc > SolarDays[leap][i])
{
break;
}
}
cd.SolarDate = acc - SolarDays[leap][i];
if (i <= 11)
{
cd.SolarYear = cd.LunarYear;
cd.SolarMonth = i + 1;
}
else
{
cd.SolarYear = cd.LunarYear + 1;
cd.SolarMonth = i - 11;
}
leap = GetLeap(cd.SolarYear);
y = cd.SolarYear - FIRSTYEAR;
acc = SolarDays[leap][cd.SolarMonth - 1] + cd.SolarDate;
cd.Weekday = (acc + LunarCal[y].BaseWeekday) % 7;
kc = acc + LunarCal[y].BaseKanChih;
cd.Kan = kc % 10;
cd.Chih = kc % 12;
}
return 0;
}
❻ google日歷同步如何在Android 4.0.3實現
將Android 4.0.3系統與googleexchange服務建立連接,使google日歷實現同步。添加帳戶提示「您沒有與此伺服器同步的許可權」「無法連接到伺服器」等提示。如果是的話就說明您手機也存在同樣的問題。那麼請按照如下操作,本人親測並嘔心瀝血整理~希望能幫到您。工具/原料出現類似「」問題的Android 4手機一台Gmail帳戶一枚 軟體三款:google services framework,Google Play store,googleCalendarSyncAdapter方法/步驟你的手機應該無法連接Gmail帳戶,系統帳戶添加中沒有直接的google帳戶選項,選擇exchange添加帳戶提示「您沒有與此伺服器同步的許可權」「無法連接到伺服器」等提示。如果是的話就說明您手機也存在同樣的問題。那麼請按照如下操作。首先,保證你的手機已經root過,獲得root許可權。否則請用工具進行root。推薦下騰訊手機管家for Android,裡面的自動root比較省事,省心。下載google services framework到手機中,並安裝。隨後下載安裝Google Play store到手機中。完成後,不要運行,進行下一步。進入RE文件瀏覽器,把手機內存data/app目錄下的com.Android.vending-1.apk(就是安裝好的Google Play)復制到system/app目錄下。重啟手機。重啟後直接打開剛安裝的Google Play store,即請求你注冊或登錄,選擇登錄,輸入用戶名和密碼登錄即可。此時若出現如下提示,是因為沒有關閉wifi,應當改用手機的2G或3G網路進行連接登錄。還有可能提示你密碼錯誤,則可以按照google提供的密碼使用方法進行設置,「應用專用密碼」進行登錄即可。之後就可以看到帳戶登錄成功的樣子!最後,可以去使用你的日歷同步了!搞定!花了我一天的時間,我必須得把這個經驗共享了,以解我心頭之怒!希望幫到更多的人,不要像我這樣花費大量時間這個小破東西上。Google官方電子市場Google Play Store二維碼掃描下載 分類:網路工具 評分: 大小:5MB 支持平台:Android
❼ 關於在java環境下 開發有關Google日歷的應用
google日歷的數據是一個json文件,想拿到這個需要google api拿取這個json文件,拿取的過程是一個驗證的過程,驗證是用你的賬號,成功後給你一個token。所以你主要看兩個方面:
1. google authentication
2. parse json data
❽ 求可以實現outlook或google日程表的源碼,功能差不多就行。
http://down.chinaz.com/soft/1522.htm
已測試,和GOOGLE日程表類似,可以添加刪除日程安排