Home | History | Annotate | Download | only in src

Lines Matching refs:Function

43 // Helper function to throw error.
44 function ThrowDateTypeError() {
49 function Modulo(value, remainder) {
57 function TimeWithinDay(time) {
63 function DaysInYear(year) {
70 function DayFromYear(year) {
78 function TimeFromYear(year) {
83 function InLeapYear(time) {
89 function EquivalentYear(year) {
102 function EquivalentTime(t) {
147 // If this function is called with NaN it returns NaN.
148 function DaylightSavingsOffset(t) {
219 function LocalTimezone(t) {
231 function WeekDay(time) {
236 function LocalTime(time) {
248 function LocalTimeNoCheck(time) {
266 function UTC(time) {
279 function MakeTime(hour, min, sec, ms) {
292 function TimeInYear(year) {
300 function YearFromTime(t) {
313 function MonthFromTime(t) {
325 function DateFromTime(t) {
345 function MakeDay(year, month, date) {
365 function MakeDate(day, time) {
378 function TimeClip(time) {
398 %SetCode($Date, function(year, month, date, hours, minutes, seconds, ms) {
466 function TwoDigitString(value) {
471 function DateString(time) {
483 function LongDateString(time) {
491 function TimeString(time) {
498 function LocalTimezoneString(time) {
524 function DatePrintString(time) {
534 function DateParse(string) {
551 function DateUTC(year, month, date, hours, minutes, seconds, ms) {
570 function DateNow() {
576 function DateToString() {
585 function DateToDateString() {
593 function DateToTimeString() {
602 function DateToLocaleString() {
608 function DateToLocaleDateString() {
616 function DateToLocaleTimeString() {
625 function DateValueOf() {
631 function DateGetTime() {
637 function DateGetFullYear() {
647 function DateGetUTCFullYear() {
655 function DateGetMonth() {
663 function DateGetUTCMonth() {
671 function DateGetDate() {
679 function DateGetUTCDate() {
686 function DateGetDay() {
694 function DateGetUTCDay() {
702 function DateGetHours() {
710 function DateGetUTCHours() {
718 function DateGetMinutes() {
726 function DateGetUTCMinutes() {
733 function DateGetSeconds() {
741 function DateGetUTCSeconds() {
748 function DateGetMilliseconds() {
756 function DateGetUTCMilliseconds() {
763 function DateGetTimezoneOffset() {
771 function DateSetTime(ms) {
778 function DateSetMilliseconds(ms) {
787 function DateSetUTCMilliseconds(ms) {
796 function DateSetSeconds(sec, ms) {
806 function DateSetUTCSeconds(sec, ms) {
816 function DateSetMinutes(min, sec, ms) {
828 function DateSetUTCMinutes(min, sec, ms) {
840 function DateSetHours(hour, min, sec, ms) {
853 function DateSetUTCHours(hour, min, sec, ms) {
866 function DateSetDate(date) {
875 function DateSetUTCDate(date) {
884 function DateSetMonth(month, date) {
894 function DateSetUTCMonth(month, date) {
904 function DateSetFullYear(year, month, date) {
917 function DateSetUTCFullYear(year, month, date) {
930 function DateToUTCString() {
943 function DateGetYear() {
951 function DateSetYear(year) {
966 // says that toGMTString should be the same Function object as
968 // do that either. Instead, we create a new function whose name
970 function DateToGMTString() {
975 function PadInt(n, digits) {
981 function DateToISOString() {
995 function DateToJSON(key) {
1005 function ResetDateCache() {
1040 function SetupDate() {